You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by bu...@apache.org on 2004/11/04 03:40:38 UTC
DO NOT REPLY [Bug 32050] -
Cookies are sent in separate headers
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32050>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=32050
Cookies are sent in separate headers
becke@u.washington.edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From becke@u.washington.edu 2004-11-04 02:40 -------
Hi Manu,
There are a variety of different cookie specifications and unfortunately they don't all agree on the
correct way to do things. In HttpClient 3.0 you have a couple of options for taking care of this problem:
- Change the cookie spec being used.
method.getParams().setBooleanParameter(HttpMethodParams.COOKIE_POLICY,
CookiePolicy.BROWSER_COMPATIBILITY);
- or, configure the GetMethod to include all cookies in a single header.
method.getParams().setBooleanParameter(HttpMethodParams.SINGLE_COOKIE_HEADER, true);
Mike
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org