commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Alexander" <dalexan...@ukgateway.net>
Subject [HttpClient] Cookie error
Date Sat, 13 Sep 2003 11:39:37 GMT
Hello,

I'm getting the following error:

13-Sep-2003 12:32:28 org.apache.commons.httpclient.HttpMethodBase
processResponseHeaders
WARNING: Invalid cookie header: "foo=baa; path=/; expires=Sat, 01 Jan 3000
00:00:00;". Unable to parse expiration date parameter: Sat, 01 Jan 3000
00:00:00

And it isn't storing the cookie.

Am using the following settings:

        client.setStrictMode(true);
        client.getState().setCookiePolicy(CookiePolicy.COMPATIBILITY);

Any suggestions on the easiest way to make it accept that cookie would be
appreciated

Thanks.
Derek


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message