Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Default Twisted does not ship with a CONNECT-enabled HTTP(s) proxy. This code provides one.
Python
Branch: master

Merge pull request #7 from remram44/ssl

Adds SSL support
latest commit 3f65863617
@fmoo authored
Failed to load latest commit information.
.gitignore Initial commit
LICENSE BSD License
README.md More details
client.py BSD License
server.py Adds --ssl-key for separate cert/key files

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)
Something went wrong with that request. Please try again.