[WebKit-devel] [Bug 267249] Last commit to KIO::AccessManager (3f3ed98) breaks http POST

Dawit Alemayehu adawit at kde.org
Mon Feb 28 01:37:50 CET 2011


https://bugs.kde.org/show_bug.cgi?id=267249


Dawit Alemayehu <adawit at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |adawit at kde.org
         Resolution|                            |INVALID




--- Comment #1 from Dawit Alemayehu <adawit kde org>  2011-02-28 01:37:48 ---
That is curious. The only way sizeFromRequest returns a -1 is if
"Content-Length" is missing. Hmm... curious why QtWebKit does not set that
information by the time QNetworkAccessManager::createRequest is invoked!

Anyhow, there is no need for this patch because the requirement that the size
MUST always be specified before the http ioslave did any POST operation has
already been relaxed due to the very same problem with the PUT operation. If
you update to the latest version of kdelibs/kioslave/http/http.cpp (22ff0c7 and
newer), then you should not encounter this problem. Otherwise, please re-open
this ticket...

Thanks for the report.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the WebKit-devel mailing list