DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38347>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38347

           Summary: Cookie date parsing problem
           Product: HttpClient
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HttpClient
        AssignedTo: httpclient-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


I just wrote a program to use HttpClient to connect to craigslist.org and
received the following error.

Jan 21, 2006 7:44:55 PM org.apache.commons.httpclient.HttpMethodBase
processResponseHeaders
WARNING: Invalid cookie header:
"cl_login_cookie=uFXOcGRHZ3BK3BYbTiWxM8LEroqD1qEZ9HVxg8Rim2SzM8PpX60t1cTs8qanLhX5;
domain=.craigslist.org; path=/; expires=Tue, 01-Jan-1980 00:0 0:00 GMT". Unable
to parse expiration date parameter: Tue


I'm not sure, but it looks like they are sending back an extra space in their
expiry string.  I looked at how Firefox is handling this and it sets the expiry 
to:

Expires: at end of session

Can someone please tell me if there is a fix for this, or is craigslist just
being broken to try and prevent people from sripting it.  Maybe thats it, what
is the User-Agent reported by HttpClient?  I'm sure its possible to change it,
I'll try that.

Nathan

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to