curl-and-python
HTTPPOST, formadd and PycURL
From: Dominique <domimail_at_tonnikala.org>
Date: Mon, 28 Feb 2005 23:02:25 +0200
Date: Mon, 28 Feb 2005 23:02:25 +0200
Hi,
I'm trying to put together a script which will do multipart form handling,
i.e. upload a file via HTTP POST.
PycURL seems to support HTTPPOST as proven by e.g. test_post2.py, but I'm
not sure it supports file uploading in itself via the HTTPPOST interface.
In the TODO list there's a mention:
"NEW FEATURES/IMPROVEMENTS:
* Support more of the CURLFORM_* API in HTTPPOST?"
Could someone offer insight if POSTing files is possible via pycurl and if
so, how? Thanks in advance.
best regards,
Dominique
_______________________________________________
http://cool.haxx.se/mailman/listinfo/curl-and-python
Received on 2005-02-28