How can I log the HTTP requests and responses when using twisted.web.client
? I've checked the docs and sources and didn't find anything but maybe it's possible using some custom agents or some such?
Asked
Active
Viewed 67 times
2

wRAR
- 25,009
- 4
- 84
- 97
1 Answers
0
There is no built-in support for this, but you can implement your own IAgent
, that does logging and delegates to another IAgent
, perhaps using proxyForInterface
.

Glyph
- 31,152
- 11
- 87
- 129