On Mon, 30 Sep 2013, Dima Tisnek wrote:
I was thinking to do a multipart file upload were every part has some
custom, application-specific headers in addition to Content-Type and
Content-Length.
libcurl provides this option via curl_formadd CURLFORM_CONTENTHEADER.
pycurl doesn't seem to provide any way to do say, except perhaps building
the whole post request by hand.
Then tell that to the pycurl team, or even better: send them a patch. pycurl
is a completely separate project done by a separate team...
They're on the curl-and-python mailing list:
http://curl.haxx.se/mail/list.cgi?list=curl-and-python
--
/ daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html