curl-and-python

Fwd: pycurl.FORM_CONTENTHEADER

From: Dima Tisnek <dimaqq_at_gmail.com>
Date: Wed, 9 Oct 2013 09:58:05 -0700

Hey list,

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.

oh, pycurl.FORM_STREAM/READFUNCTION support would be great too!

thanks,
d.
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2013-10-09