[Twisted-web] Add response logging to logging-proxy.py example

Alexei Colin alexei at alexeicolin.com
Sat Jul 13 13:15:50 MDT 2013


Hello,

The example logging-proxy.py processes the request, but not the
response. Yes, one can learn how to do that from the docs and from
stackoverflow, but that is an avoidable time burden. Sometimes this
example is all one needs, if only it were complete with both directions.

Could the example be revised or new one added with something like the
attached? Thank you for the consideration.

-alexei
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logging-proxy.py
Type: text/x-python
Size: 2377 bytes
Desc: not available
URL: <http://twistedmatrix.com/pipermail/twisted-web/attachments/20130713/8ada3d4c/attachment.py>


More information about the Twisted-web mailing list