cURL / Mailing Lists / curl-library / Single Mail

curl-library

pycurl.FORM_CONTENTHEADER

From: Dima Tisnek <dimaqq_at_gmail.com>
Date: Mon, 30 Sep 2013 12:34:37 -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.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-09-30