kio_http: bug with IIS

Waldo Bastian bastian at kde.org
Wed Sep 4 17:46:00 BST 2002


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

On Wednesday 04 September 2002 12:28 am, Daniel Molkentin wrote:
> 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?

Don't send the first 4 lines.

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

iD8DBQE9djjIN4pvrENfboIRAt7ZAJ952S8t20b75/0zzNeRhe8+ERtyYACdFWve
ck9XRpSUnMVJhRvokiy+saw=
=mwEm
-----END PGP SIGNATURE-----





More information about the kfm-devel mailing list