::
FILES LIST
src/ProxyHTTPServer.py proxy based on ThreadingTCPServer and BaseHTTPServer
src/logger.py proxy based on ProxyHTTPServer
src/test.py web server for proxy testing
README.txt
DEPENDENCES
Python 2.5.1
TUTORIAL
Type in your console:
python ProxyHTTPServer.py
It run a local proxy server:
Serving HTTP on 0.0.0.0 port 8000 ...
You must configure your browser to use this proxy:
HTTP: 127.0.0.1
PORT: 8000
You can use others ports:
python ProxyHTTPServer.py 8001
The first test is to browse on web.
The second is to run the test server:
python test.py 8080
You must browse on:
http://localhost:8080/
LOGGER
Type in your console:
python logger.py
Configure your browser to use this proxy.
Browse on http://www.python.org
The logger proxy will make a HTML file, like this:
e7e3879e-9aa2-11dc-b850-444553540000.html
See the top file with a text editor:
REQUEST GET
http://www.python.org/
[...headers...]
[None with GET]
RESPONSE 200
[...headers...]
[...HTML...]