Re: httplib HTTP: Logging request message

2008-07-01 Thread tom
I guess the easies way to do it is to copy and modify the httplib module to log both outgoing and incoming messages. -- http://mail.python.org/mailman/listinfo/python-list

httplib HTTP: Logging request message

2008-06-27 Thread tom
With module httplid, I can do conn.request("POST", "/target", params, headers) Now, I want to log the request message that is sent by the request method. I don't don't see a method for that task. Any suggestion? For a response, I can log the response message by using the call method. Though, I