On Tue, May 3, 2011 at 12:52 AM, Nikolay Elenkov
<[email protected]> wrote:
> On Mon, May 2, 2011 at 10:58 PM, Niall <[email protected]> wrote:
>> I just looked at the logcat of my app and noticed a warning I hadn't noticed
>> before.
>> W/ResponseProcessCookies(  575): Invalid cookie header: "Set-Cookie:
>> USERNAME=user; expires=Mon, 02-May-2011 12:54:51 GMT; path=/;
>> domain=domain.com". Unable to parse expires attribute: Mon
>> Not sure what that means. Any ideas?
>
> Looks like a malformed cooke. Who is sending this? Values containing
> spaces should be quoted.
>

...at least when following RFC2109. If you need to deal with servers
that use the old format, try

httpClient.getParams().setParameter( ClientPNames.COOKIE_POLICY,
CookiePolicy.NETSCAPE );

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to