curl-and-python

Re: patch for HTTP POST filename

From: Kjetil Jacobsen <kjetilja_at_gmail.com>
Date: Wed, 8 Jun 2005 09:29:59 +0200

thanks!

the patch has been committed to CVS and will be part of the next pycurl release.

    - kjetil

On 6/7/05, Dominique <curl-and-python_at_d242.net> wrote:
> Hi,
>
> Here's a small patch to add support for specifying a filename in conjunction
> with CURLFORM_FILE (formdata).
>
> Usage:
>
> post_options = [('file', (pycurl.FORM_FILE, file, pycurl.FORM_FILENAME,
> 'otherfile'))]
>
>
> I hope it can be included in a future release of PyCURL.
>
>
> best regards,
> Dominique
>
>
>
> _______________________________________________
> http://cool.haxx.se/mailman/listinfo/curl-and-python
>
>
>
>

_______________________________________________
http://cool.haxx.se/mailman/listinfo/curl-and-python
Received on 2005-06-08