[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-16 15:59:23
Message-ID: 200706161759.23854.nouseforaname () home ! se
[Download RAW message or body]
On Thursday 14 June 2007, Richard Lärkäng wrote:
> 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?
So, basically what I mean is if the attached patch would be ok for kio_http?
(instead of the first patch I posted) At least, QHttp does the same thing.
/Richard
["http-continue.patch" (text/x-diff)]
Index: http.cc
===================================================================
--- http.cc (revision 587848)
+++ http.cc (arbetskopia)
@@ -3534,6 +3534,7 @@ try_again:
// We need to reread the header if we got a '100 Continue' or '102 Processing'
if ( cont )
{
+ m_responseHeader.clear();
goto try_again;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic