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

(Updated jul. 11, 2015, 8:29 p.m.)


Status
------

This change has been discarded.


Review request for kdelibs, Dawit Alemayehu and Andreas Hartmetz.


Repository: kdelibs


Description
-------

When submitting a Content-Type: multipart/related using AsyncDataEnabled you 
need to specify the Content-Length of the whole thing you are trying to send, 
not just of the first chunk of the data. http::SendBody will append the 
Content-Length using the length of the first chunk of data automatically.

This patch adds the possibility of indicating the Content-Lenght using metadata 
"content-length".

Another option will be using the data set in "setTotalSize" in case it makes 
all the trip down to the kioslave.

Also, is there any case where we want AsyncDataEnabled but we don't need to 
specify the content-length? 


Diffs
-----

  kioslave/http/http.cpp 2d139a9 

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


Testing
-------


Thanks,

Àlex Fiestas

Reply via email to