hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32050] - Cookies are sent in separate headers
Date Thu, 04 Nov 2004 02:40:38 GMT
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


Mime
View raw message