I want to write a program that changes the HTTP headers in my requests that are sent by my web-browser. I believe it can be done with a proxy server. So, I'd like to write a proxy server.
I study programming. How can I do this in Python?
Good example below on how to do this without the overhead of a framework.
http://www.warriorhut.org/whatwg/websocket-proxy.py