[Tutor] Monitoring HTTP connections?

xbmuncher xboxmuncher at gmail.com
Mon Sep 29 02:33:49 CEST 2008

>>Why not just set up wireshark with a filter for HTTP requests?
Because I want to use the data from the HTTP requests in my python program,
so it needs to be a way I can do it natively within my python program, so I
can use the data it retrieves...- Show quoted text -

On Sun, Sep 28, 2008 at 7:39 AM, Kent Johnson <kent37 at tds.net> wrote:

> On Sat, Sep 27, 2008 at 11:20 PM, xbmuncher <xboxmuncher at gmail.com> wrote:
> > How can I monitor the HTTP connections my windows xp system makes with
> > python?
> >
> > I'm running a program that makes requests to websites over HTTP, I know
> this
> > by using a program like wireshark. I'd basically like to have a python
> > program know when this other program makes these requests and be able to
> > save the request data, so I know what it is requesting (to what website).
> > Kind of like a mini- wireshark like program but only for HTTP requests.
> Why not just set up wireshark with a filter for HTTP requests?
> http://www.wireshark.org/docs/wsug_html_chunked/ChCapCaptureFilterSection.html
> You could also use a proxy server to log the traffic; several Python
> proxy servers are listed here:
> http://www.xhaus.com/alan/python/proxies.html
> Kent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20080928/88571885/attachment.htm>

More information about the Tutor mailing list