[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: XMLHttpRequest and http status code 100
From:       Richard =?iso-8859-1?q?L=E4rk=E4ng?= <nouseforaname () home ! se>
Date:       2007-06-14 21:07:16
Message-ID: 200706142307.16484.nouseforaname () home ! se
[Download RAW message or body]

On Thursday 14 June 2007, Richard Lärkäng wrote:
> The problem seems to be that the status for an XMLHttpRequest is 100, when
> it is expected to be 200. I don't know that much about http, but if I
> understand things correctly, the response with status code 100 should just
> be ignored and the next one should be used instead.
>
> So the attached patch does that, and makes the site mentioned above work
> for me again. Does the patch look OK?

After looking into it a bit more, it looks like my patch isn't enough. It 
seems additional headers could follow the "100 Continue"-line and then 
followed by an empty line, and a new status line.

But the empty line is discarded by kio_http, so it's a bit hard to find the 
next status line. Is that information needed anywhere, or could everything up 
to the next status line be discarded by kio_http?

/Richard

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic