HTTPPOST, formadd and PycURL

From: Dominique <>
Date: Mon, 28 Feb 2005 23:02:25 +0200


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., but I'm
not sure it supports file uploading in itself via the HTTPPOST interface.

In the TODO list there's a mention:

    * 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,

Received on 2005-02-28