Hello Eric, >From RFC 2965, HTTP State Management, Section 3:
value = token | quoted-string [...] cookie = NAME "=" VALUE *(";" set-cookie-av) VALUE = value That is part of the BNF grammar for the set-cookie2 header. All the examples in section 4 use quoted values, but due to the token choice, quotes are required only if the value contains special characters, as defined by RFC 2616 (HTTP 1.1), section 2.2. As long as there are no special characters in the value, the test cases should be right. hope this helps, Roland Eric Johnson <[EMAIL PROTECTED]> 04.11.2003 17:10 Please respond to "Commons HttpClient Project" To: HttpClient <[EMAIL PROTECTED]> cc: Subject: Cookie test case failures with Tomcat 4.1.29 It would seem that the latest Tomcat (4.1.29) has engaged in a subtle change in behavior with respect to cookies. When I ran it this morning, nine of the cookie related test cases failed. Last week, I was running with Tomcat 4.1.27, and everything worked fine. Since I had it readily available, I fell back to Tomcat 4.1.18 (I deleted 4.1.27, unfortunately, and Apache is no longer hosting it) and ran the tests again, and got all of the tests to pass with no errors. Upon inspection, the failures would seem to be due to the test servlet returning: <tt>simplecookie=value</tt> instead of: <tt>simplecookie="value"</tt> Which is right - our test cases, or the new behavior? -Eric. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]