How to log certain web requests.

Gelonida gelonida at
Sat Feb 19 16:07:24 CET 2011


I created a small browser with QWebview

I subclassed QNetworkAccessManager with a customized version and set it
as NetworAccessManager

By adding a print / log statement in the createRequestMethod I am able
to log, which requests are performed.

What I would be interested in is however to to write the of some post
requests and the data returned from the server into a log file.

How can I do this?

thanks in advance for any ideas?

More information about the Python-list mailing list