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=37526>.
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=37526

           Summary: warn on invalid set-cookie header
           Product: HttpClient
           Version: 3.0 RC3
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HttpCookie
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I had a problem on a WS server that comes from some proxy misconfiguration...
resulting in this reponse beeing received by HTTPclient :
17:26:36,489 DEBUG [header] << "HTTP/1.1 200 OK[\r][\n]"
17:26:36,489 DEBUG [header] << "Set-Cookie: =f448bb59feedbaaabaee; 
path=/[\r][\n]"
17:26:36,489 DEBUG [header] << "Date: Tue, 15 Nov 2005 16:26:36 GMT[\r][\n]"
17:26:36,489 DEBUG [header] << "Server: Apache[\r][\n]"
17:26:36,489 DEBUG [header] << "Connection: close[\r][\n]"
17:26:36,489 DEBUG [header] << "Transfer-Encoding: chunked[\r][\n]"
17:26:36,489 DEBUG [header] << "Content-Type: text/xml;charset=utf-8[\r][\n]"

The set-cookie header is malformed, as cookie has no name, so the HTTP head may
be considered invalid.

This results in an error when building the NEXT request. I'd expect httpclient
to WARN on malformed header and drop it.

-- 
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