From kfm-devel Thu Jun 14 21:07:16 2007 From: Richard =?iso-8859-1?q?L=E4rk=E4ng?= Date: Thu, 14 Jun 2007 21:07:16 +0000 To: kfm-devel Subject: Re: XMLHttpRequest and http status code 100 Message-Id: <200706142307.16484.nouseforaname () home ! se> X-MARC-Message: https://marc.info/?l=kfm-devel&m=118185530615252 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