commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kedar Panse" <>
Subject [HTTPClient] Header parser
Date Sat, 03 Feb 2007 07:22:04 GMT
Hello guys!


I have been using HTTPClient for quite a while, thanks to you guys work!
Recently I came across a site, which I believe is returning bad headers.
HTTPClient seems to choke on


Set-Cookie: user-cookie=xxxx; path=/;; secure HTTP/1.0 200

content-type: text/html


Exception I get is:


WARNING: org.apache.commons.httpclient.ProtocolException: Unable to parse
header: HTTP/1.0 200



Is this a valid header for cookie?  Firefox/IE seem to get past it easy.  Is
there any way to get around this?






  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message