Throttling HTTP proxy in one Python file
- Simulate a slow connection (like dial-up).
- Adjustable bandwidth limit for download and upload.
- Optionally dump HTTP headers and content for debugging.
- Decompress gzip content encoding for debugging.
- Multiple connections, without threads (uses asyncore).
- Only one source file, written in pure Python.