cURL / Mailing Lists / curl-users / Single Mail

curl-users

[ curl-Bugs-442491 ] handling broken HTTP header

From: <noreply_at_sourceforge.net>
Date: Wed, 18 Jul 2001 10:30:34 -0700

Bugs item #442491, was opened at 2001-07-18 10:30
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=442491&group_id=976

Category: http
Group: bad behaviour
Status: Open
Resolution: None
Priority: 5
Submitted By: Sergio Ballestrero (ballestr)
Assigned to: Daniel Stenberg (bagder)
Summary: handling broken HTTP header

Initial Comment:
old NCSA httpd 1.5.x reply correctly to HTTP/1.0
requests, but give back a broken header on HTTP/1.1
requests, like:
HTTP 302 Moved Temporarily

cURL fails to handle this:
$ /usr/local/curl/bin/curl -I \
http://hgins.uia.ac.be/robots.txt
Date: Wed, 18 Jul 2001 17:26:28 GMT
Server: NCSA/1.5.2
Content-type: text/html
and actually puts the rest of the header in the body.

 I have attached a patch for this (against 7.8)

----------------------------------------------------------------------

You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=442491&group_id=976
Received on 2001-07-18