SO I want to make a basic proxy where I want to modify some of the data coming through.
I checked out asyncore but that doesnt allow HTTPS and it is pretty complicated, so I just looked at Twisted.
My question is since HTTPS is not supported by Twisted, can I just make the Proxy pass through silently so it doesnt handle it?
the barebones proxy is this:
from twisted.internet import reactor
from twisted.web import http
from twisted.web.proxy import Proxy
factory = http.HTTPFactory()
factory.protocol = Proxy
reactor.listenTCP(8000, factory)
reactor.run()
which doesnt allow https sites to load (gmail, etc.) so it is important that it allows https to go through the proxy. In Vista, HTTPS is automatically pinned to HTTP proxies and I dont want to tell everyone who uses it a long process of how to change the setting.