Review Request 116017: Implement POST -> POST redirection support in KIO

Dawit Alemayehu adawit at
Mon Feb 24 14:07:53 GMT 2014

This is an automatically generated e-mail. To reply, visit:

Review request for kdelibs, Andrea Iacovitti and David Faure.

Repository: kdelibs


The attached patch implements support for redirecting one POST request to another in KIO. Unless implicitly disabled currently the automatic redirection handler in KIO always redirects any POST requests to a GET.

Note this patch also changes the original KIO::http_post implementation that accepted a QByteArray to simply store the data in a QBuffer and call the newer implementation that uses a QIODevice. I have updated the documentation for the original implementation to state as such and encourage developers to directly use the newer http_post method instead. Not sure if everyone will agree with my implementation but it makes it much easier to resend POST data on redirection.


  kio/kio/job.h aeaffa2 
  kio/kio/job.cpp 9cf2b57 
  kioslave/http/http.cpp 9eba5d1 




Dawit Alemayehu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-core-devel mailing list