cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-and-python mailing list Archives

patch for HTTP POST filename

From: Dominique <curl-and-python_at_d242.net>
Date: Tue, 7 Jun 2005 18:32:59 +0300

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

Received on 2005-06-07

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET