hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Fairley <alex.mail.l...@gmail.com>
Subject Setting Cookie Policy
Date Thu, 30 Jun 2005 20:46:47 GMT
Hi guys,
I'm attempting to convince the HttpClient to accept, or ignore cookies
with the domain set to .foobar.com from Domain of origin: foobar.com.
I'm using 3.0rc2, and so far I've tried:

CookiePolicy.registerCookieSpec(CookiePolicy.DEFAULT,              
CookiePolicy.getCookieSpec(CookiePolicy.BROWSER_COMPATIBILITY).getClass());

as well as using CookiePolicy.IGNORE_COOKIES. I've also attempted to
use the deprecated version
 CookiePolicy.setDefaultPolicy();

but have had no luck either way.

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Mime
View raw message