[ grinder-Bugs-3124963 ] HTTPClient doesn't seem to handle Discard cookies propery
SourceForge.net <[email protected]> Tue, 18 Sep 2012 14:56:10 -0700
| Newsgroups | gmane.comp.java.grinder.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #3124963, was opened at 2010-12-01 15:19 Message generated for change (Settings changed) 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: Closed 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 04: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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/