kio_http: bug with IIS

Waldo Bastian bastian at kde.org
Tue Sep 3 20:32:32 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 03 September 2002 04:38 am, Daniel Molkentin wrote:
> On Thursday 29 August 2002 16:11, David Faure wrote:
> > Get full debug output from kio_http (kdebugdialog -> enable
> > kio_http_debug area, restart, get debug from ~/.xsession-errors)
>
> kio_http: (13055) ============ Received Response:
> kio_http: (13055) --empty--
> kio_http: (13055) "Server: Microsoft-IIS/5.0"
> kio_http: (13055) "Date: Tue, 03 Sep 2002 11:00:58 GMT"
> kio_http: (13055) --empty--
>
> While the entire header is:
>
> 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
>
> (These are actually the first lines it stores in the document when I save
> the resulting data)
>
> So the content type does not get evaluated...
> But why does kio_http see an empty line?/r/n/r/n while the header issued on
> the document does not contain an empty line?

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.

Cheers,
Waldo
- -- 
bastian at kde.org  |   SuSE Labs KDE Developer  |  bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9dQ5QN4pvrENfboIRAvKoAKCV3Cc/m8IWW7R2IddJYankFLb+rgCff6Py
kRLLH/8gF9s8v6C0kmDgzKc=
=4GFQ
-----END PGP SIGNATURE-----





More information about the kfm-devel mailing list