[ grinder-Bugs-3124963 ] HTTPClient doesn't seem to handle Discard cookies propery
"SourceForge.net" <[email protected]> Wed, 03 Aug 2011 12:32:56 +0100
| Newsgroups | gmane.comp.java.grinder.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #3124963, was opened at 2010-12-01 23:19 Message generated for change (Comment added) made by philipa You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3124963&group_id=18598 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: HTTP Plugin Group: None >Status: Pending >Resolution: Rejected Priority: 5 Private: No Submitted By: Shayne Bateman (tailbon3) Assigned to: Philip Aston (philipa) Summary: HTTPClient doesn't seem to handle Discard cookies propery Initial Comment: I am playing back a simple test script and I get the following error in error_*.log java.net.ProtocolException: Bad Set-Cookie header: dude=member1-13443427;Version=1;Path=/;Discard No '=' found for token starting at position 39 The value 'Discard' doesn't need an '=' according to http://www.faqs.org/rfcs/rfc2965.html section 3.2.2 Set-Cookie2 Syntax ---------------------------------------------------------------------- >Comment By: Philip Aston (philipa) Date: 2011-08-03 12:32 Message: I've done some testing of this, and it all appears to work fine. >From the exception you are receiving, I can see you are setting the cookie with a Set-Cookie header. Discard was introduced in RFC2965, so you must use a Set-Cookie2 header, not a Set-Cookie header. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3124963&group_id=18598 ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1