CookieOrigin origin = new CookieOrigin("antisourceforge.net", 80, "/", false);
assertFalse(cookiespec.match(cookie, origin));
}
public void testMatchBlankPath() throws Exception {
CookieSpec cookiespec = new BrowserCompatSpec();
BasicClientCookie cookie = new BasicClientCookie("name", "value");
cookie.setDomain("host");
cookie.setPath("/");
CookieOrigin origin = new CookieOrigin("host", 80, " ", false);
assertTrue(cookiespec.match(cookie, origin));
}