httplib.HTTPResponse question

Christopher Baus christopher at baus.net
Sat Jun 26 02:54:00 CEST 2004


Hi all,

I'm writing an HTTP client test package in python to test my C++ proxy
server (http://www.summitsage.com/).  For this reason I want to construct
the (malformed) HTTP requests myself, but use httplib to parse the
server's response.  I don't see an easy way to do this.  I suspect I could
construct the response on the socket and have it read the response, but
this is undocumented.

Any suggestions?

tia.

-- 
Christopher Baus
http://www.baus.net/
Tahoe, Wine, and Linux.




More information about the Python-list mailing list