Skip to content
Default Twisted does not ship with a CONNECT-enabled HTTP(s) proxy. This code provides one.
Branch: master
Clone or download
fmoo Merge pull request #11 from Oefenweb/make-fix-for-twisted-1630-condit…
…ional

Make fix for >=twisted-16.3.0 conditional
Latest commit c51a336 Feb 22, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit Oct 9, 2012
LICENSE BSD License Oct 25, 2014
README.md More details Oct 25, 2014
client.py BSD License Oct 25, 2014
server.py Make fix for >=twisted-16.3.0 conditional Feb 21, 2017

README.md

twisted-connect-proxy

Default Twisted does not ship with a CONNECT-enabled HTTP(s) proxy. This code provides one.

This code also provides an HTTP CONNECT proxy client that implements IReactorTCP and IReactorSSL

Proxy Server

To run an HTTP CONNECT proxy server on port 8080, run:

./server.py

That was easy.

Proxy Client

The HTTP CONNECT proxy reactor can be used like this:

proxy = HTTPProxyConnector(proxy_host, proxy_port)
You can’t perform that action at this time.