hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <ossf...@dubioso.net>
Subject Re: Setting default cookie policy
Date Wed, 29 Aug 2007 15:19:25 GMT
Hello Keith,

set the cookie policy ID in the client parameters:
http://jakarta.apache.org/httpcomponents/httpclient-3.x/apidocs/org/apache/commons/httpclient/params/HttpMethodParams.html#COOKIE_POLICY

You'll have to use CookiePolicy.BROWSER_COMPATIBILITY or
the new RFC_2965 to handle domains without the dot prefix.
RFC 2109 explicitly disallowed those, and that is the
default cookie policy.

hope that helps,
  Roland


---------------------------------------------------------------------
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