using urllib or httplib to post with ENCTYPE=mulitpart/form-data

Kevin Carlson nskhcarlso at
Sun Jun 8 23:08:55 CEST 2003

John J. Lee wrote:
> Kevin Carlson <khcarlso at> writes:
> [...]
>>The response from the POST returns a cookie that I need to pass along
>>to the host on the subsequent request.  I don't see and methods in
>>httplib to deal with cookies directly, nor can I find any in the
>> source that allow me to extract the cookie from the
>>response.  I'm sure I'm missing something.  Any additional pointers?

Is there any way to use ClientCookie with httplib rather that urllib or 

More information about the Python-list mailing list