[Twisted-Python] How to capture output from transport of HTTPClientFactory?
exarkun at twistedmatrix.com
exarkun at twistedmatrix.com
Thu Aug 27 15:13:23 EDT 2009
On 06:30 pm, konrads at smelkovs.com wrote:
>Hi,
>HTTPClientFactory uses self.transport to do reads/writes. I would like
>to
>have a copy of all data in and out for debugging/logging purposes.
>How to do that (best?)?
twisted.protocols.policies.TrafficLoggingFactory may do what you want.
Jean-Paul
More information about the Twisted-Python
mailing list