MultiPart HTTP requests

Aleix Pol aleixpol at kde.org
Fri Dec 5 15:14:45 UTC 2014


Hi all,
Every now and then I end up having to generate MultiPart HTTP requests to
implement some of those fancy HTTP API's to upload images.

I know we have many implementation for this, namely one in kipi, then
forked in ktp [1], one in kdevplatform reviewboard plugin, and probably
some more. In fact I'll have to add another implementation in Kamoso as
well.

With this e-mail, I wanted to suggest to move such MPForm into KF5 (KIO?
KCoreAddons?) so we can re-use it, and maybe hopefully not scare people
from implementing such API's, because it helps saving some tricky code
anyway.

Aleix

[1]
http://quickgit.kde.org/?p=ktp-text-ui.git&a=blob&f=image-sharer%2Fmpform.h
http://quickgit.kde.org/?p=ktp-text-ui.git&a=blob&f=image-sharer%2Fmpform.cpp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20141205/138e4fa4/attachment.html>


More information about the Kde-frameworks-devel mailing list