Skip to content

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

License

Notifications You must be signed in to change notification settings

vazkir/twisted-connect-proxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%