Re: Patch Submission for Header parsing error

2004-01-11 Thread Oleg Kalnichevski
Andrew, The response produced by the web server is clearly wrong and is in violation of the HTTP spec. I personally doubt that HttpClient can be expected to provide a work around for every single problem caused by every single crappy web server out there. What if the server sent two extraneous byte

Patch Submission for Header parsing error

2004-01-09 Thread Andrew W. Buchanan
I've been encountering a frequent problem with the 2.0-rc2 release in the spider I'm working on where the HttpParser throws an exception when a extra byte is returned from a web server. When this exception is thrown, none of the Headers are returned even though they all contained valid data. A