Hi,

when using  httplib for http requests, like for example:


   conn = httplib.HTTPConnection("www.python.org")
   conn.request("GET", "/index.html")

Is it possible to retrieve the complete http request in string form :


GET /index.html HTTP/1.1
Host: www.python.org
User-Agent: ...
Accept:   ...
Accept-Language:
Accept-Encoding:
Accept-Charset:
Keep-Alive:
Connection:

I mean does  the HTTPConnection object have a property that stores this ?
or is it retrievable by some other form?

Thanks a lot.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to