curl-and-python
patch for HTTP POST filename
From: Dominique <curl-and-python_at_d242.net>
Date: Tue, 7 Jun 2005 18:32:59 +0300
Received on 2005-06-07
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
- text/plain attachment: curlform_filename.patch