Hi,Looking at the code of HTTPConnection, all that goes through the
when using httplib for http requests, like for example:
conn = httplib.HTTPCon nection("www.py thon.org")
conn.request("G ET", "/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.
--
_output message (including, therefore, the putheaders) are appended to
the self._buffer list.
Regards
Marco
--
Marco Bizzarri
http://notenotturne.blogspot.com/
http://iliveinpisa.blogspot.com/