Re: wanted "httpscope" -- display http messages

Guido.van.Rossum@cwi.nl
Wed, 05 Apr 1995 11:47:59 +0200

> Is there any existing python code that parses http messages and
> possibly displays them? The idea is to build an http proxy server
> that would display http messages as they go by (sort of like xscope
> or xmon). Pointers appreciated.

Python 1.2-beta-* has a whole suite of WWW modules, amongst which a
primitive but extensible HTML parser. Have a look at the docs, e.g.

http://www.cwi.nl/~guido/Python.html

Follow the links to Library Reference and select the chapter on
Internet and WWW.

For the HTML parser you may have to read the source to understand how
to extend it.

--Guido van Rossum, CWI, Amsterdam <mailto:Guido.van.Rossum@cwi.nl>
<http://www.cwi.nl/cwi/people/Guido.van.Rossum.html>