curl-and-python

Re: pycurl.FORM_CONTENTHEADER

From: Oleg Pudeyev <oleg+pycurl_at_bsdpower.com>
Date: Mon, 14 Oct 2013 18:58:41 -0400

On Wed, 9 Oct 2013 09:58:05 -0700
Dima Tisnek <dimaqq_at_gmail.com> 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.

You may find https://github.com/pycurl/pycurl/pull/31 helpful, although
I want to change it from using tuples for keeping track of Python
objects to a simple C array before merging.

Oleg
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2013-10-15