kio_http: bug with IIS

Daniel Molkentin daniel.molkentin at sap.com
Wed Sep 4 08:28:58 BST 2002


On Tuesday 03 September 2002 21:32, Waldo Bastian wrote:
> The complete server response is probably:
> --empty--
> "Server: Microsoft-IIS/5.0"
> "Date: Tue, 03 Sep 2002 11:00:58 GMT"
> --empty--
> "HTTP/1.1 200 OK"
> "Server: Microsoft-IIS/5.0"
> "Date: Tue, 03 Sep 2002 11:00:58 GMT"
> "Connection: close"
> "Content-Type:  text/html; charset=iso-8859-1"
>
> HTTP defines that the header ends with the first empty line. Despite that
> we still accept the first empty line since that is clearly an error, but
> the second empty line is seen as end of header.

Yes, but how would one fix that? Do a lookahead over the empty line?

Cheers,
	Daniel

-- 
Daniel Molkentin <daniel.molkentin at sap.com>
SAP LinuxLab
http://www.sap.com/linux




More information about the kfm-devel mailing list