tags:

views:

43

answers:

2

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.

How can I do this in Python?

+1  A: 

Why not use an existing proxy such as Charles HTTP Proxy? It has the ability to rewrite headers and do all sorts of cool stuff to requests and responses.

Marc Novakowski
Sweet, this'll come in handy at work. Using Apache atm. but it's a bit cumbersome sometimes.
Skurmedel
+1  A: 

This is a list of HTTP proxies in python.

kgiannakakis