XMLHttpRequest and http status code 100
Richard Lärkäng
nouseforaname at home.se
Thu Jun 14 22:07:16 BST 2007
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
More information about the kfm-devel
mailing list