Commit Graph

9 Commits

Author SHA1 Message Date
Abhinav Singh 397f92e561
Can serve proxy traffic over HTTPS (#85)
* Can serve proxy traffic over HTTPS.

Pass --certfile and --keyfile arguments to enable SSL/TLS layer.
Example:

1) Start proxy.py as

./proxy.py --certfile cert.pem --keyfile key.pem

2) Then verify via curl

curl -v -x https://localhost:8899 --proxy-cacert cert.pem http://httpbin.org/get

* Add --ignore-missing-imports for missing multiprocessing.reduction module

* mock socket.fromfd to avoid sys calls

* Add HTTPS info

* Add TLS encryption

* Add TLS encryption
2019-09-23 17:38:10 -07:00
Abhinav Singh c3cd9be816 Add --disable-headers option. Fixes #31 2019-09-02 15:58:37 -07:00
Abhinav Singh 6b64c23c47 Prepare for v0.3 release 2019-02-08 18:57:44 -08:00
Abhinav Singh fcdae0e9c4 Fixes #20 HttpParser bug content-length is missing 2018-12-22 12:43:17 -08:00
Abhinav Singh 917564b1d2 Fix Python3 warnings thrown while running tests
1. can't concat str to bytes
2. ResourceWarning: unclosed
2018-12-10 14:43:44 +05:30
Abhinav Singh 5383abf195 PEP8 formatting 2018-10-17 14:01:19 +05:30
Abhinav Singh 755f0e07a1 variablize reply pkt, ignore, Makefile 2013-12-24 03:21:45 +05:30
Abhinav Singh 7d8a37ab34 setup.py and argparse 2013-08-20 14:56:32 +05:30
Abhinav Singh 75044a72d9 first commit 2013-08-20 03:04:30 +05:30