What is the simplest way to create a HTTP proxy with Python? As far as I can understand, it should be possible to create the proxy relatively easily with a couple lines of code using the standard library HTTP server features and urlopen
or Requests.
Advertisement
Answer
One incredibly simple one is python-proxy. I found it on the list of python proxies at xhaus, which was the top result when I googled “python proxy server” (sans quotes).