Review Request 115689: Fix khtml/ecma/xmlhttprequest.cpp to properly handle HEAD requests

Dawit Alemayehu adawit at kde.org
Mon Feb 17 17:29:21 GMT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115689/
-----------------------------------------------------------

(Updated Feb. 17, 2014, 5:29 p.m.)


Status
------

This change has been marked as submitted.


Review request for kdelibs and Andrea Iacovitti.


Bugs: 331007
    http://bugs.kde.org/show_bug.cgi?id=331007


Repository: kdelibs


Description
-------

Fix khtml/ecma/xmlttprequest.cpp such that it correctly handles HEAD requests without a noticable delay, i.e. use KIO::mimeType instead of KIO::get. Otherwise, the request will wait for the content which is not returned when doing a stat operation like HEAD.


Diffs
-----

  khtml/ecma/xmlhttprequest.cpp b3707e7 
  kio/kio/job.cpp abb3dfd 

Diff: https://git.reviewboard.kde.org/r/115689/diff/


Testing
-------

Tested HEAD redirection with http://greenbytes.de/tech/tc/httpredirects/


Thanks,

Dawit Alemayehu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20140217/3f74f051/attachment.htm>


More information about the kde-core-devel mailing list