ProxyHTTPServer -- from the creator of PyWebRun
Project description
::
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...]
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...]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ProxyHTTPServer.tar.gz
(3.1 kB
view details)
File details
Details for the file ProxyHTTPServer.tar.gz.
File metadata
- Download URL: ProxyHTTPServer.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a375c5b9a888df920c687d389ac3e4945fed6f43924890d7443737b961dc702c
|
|
| MD5 |
708228e1c9a46ac8cba9623141a6d42c
|
|
| BLAKE2b-256 |
f4c62b46a2f47d050f7e835de340c90d21f5e386c3d1afaae9d1483ce842aae4
|