W3C home > Mailing lists > Public > www-jigsaw@w3.org > November to December 2001

Handling empty cookies in client side

From: Jordi Mercader <ronch_genuine@hotmail.com>
Date: Wed, 14 Nov 2001 09:48:40 -0500 (EST)
To: www-jigsaw@w3.org
Message-ID: <F86ocwAQq12LRF58tP90000405d@hotmail.com>
Hi everybody,

I'm currently working with the client-side API of the version 2.2.0.

When I request to an IIS for a URL, that "server" reply with an 
HttpSetCookieList with empty cookies, first of witch throws an 
"HttpInvalidValueException: No value for attribute [xx]" when it is parsed.

RFCs read it is correct for an empty value to be an error, so library seems 
to be correct. Then my problem is how to bypass it, because I cannot modify 
the asp running in the server.

Here is the Exceptions stack trace:
Exception in thread "main" org.w3c.www.http.HttpInvalidValueException: No 
value for attribute [xx]
   at org.w3c.www.http.BasicValue.validate(BasicValue.java:74)
   at org.w3c.www.protocol.http.HttpManager.runRequest(HttpManager.java:724)
   at Firloyo.main(Firloyo.java:63)

Should I subclass HttpSetCookieList and CookieFilter to obtain a patched 
filter and attach it to the Manager global filter? Or is there an easier way 
to do so?

J. Mercader

Descargue GRATUITAMENTE MSN Explorer en http://explorer.msn.es/intl.asp
Received on Wednesday, 14 November 2001 10:46:16 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:37 UTC