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

Kevin Carlson nskhcarlso at bellsouth.net
Sun Jun 8 17:08:55 EDT 2003


John J. Lee wrote:
> Kevin Carlson <khcarlso at bellsouth.net> 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
>>HTTPResponse.py source that allow me to extract the cookie from the
>>response.  I'm sure I'm missing something.  Any additional pointers?
> 
> 
> http://wwwsearch.sourceforge.net/ClientCookie/
> 

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






More information about the Python-list mailing list