assertTrue("Secure",!cookies.get(0).isSecure());
assertEquals("Version",0,cookies.get(0).getVersion());
}
public void testParseWithWhiteSpace() throws Exception {
Header header = new BasicHeader("Set-Cookie"," cookie-name = cookie-value ");
CookieSpec cookiespec = new BrowserCompatSpec();
CookieOrigin origin = new CookieOrigin("127.0.0.1", 80, "/", false);
List<Cookie> cookies = cookiespec.parse(header, origin);
for (int i = 0; i < cookies.size(); i++) {