• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

abhinavsingh / proxy.py / 247 / 1
76%
develop: 76%

Build:
DEFAULT BRANCH: develop
Ran 25 Sep 2019 02:04AM UTC
Files 2
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Sep 2019 02:02AM UTC coverage: 82.996% (-2.0%) from 84.98%
TESTING_ON_TRAVIS=1

push

travis-ci

web-flow
Add support for TLS/SSL interception and HTTPS server (#86)

* Handle OSError thrown when curl --proxy-cacert flag is invalid

* Add server-cert

* Dockerfile dont need --ipv4 since now its auto-detected and deprecated

* Add make server-cert info

* Add support for HTTPS interception.

1) Start as

    proxy.py --ca-key-file ca-key.pem --ca-cert-file ca-cert.pem --ca-signing-key-file ca-signing-key.pem

2) Test using curl

    curl -v -L -x proxy.py:8899 --cacert ca-cert.pem https://google.com

Now proxy.py is able to decrypt HTTPS traffic between curl and
google.com.  Generated certificates are stored under ~/.proxy.py
directory.

* Add comments for why interception do not work if client is communicating with proxy.py over https

* Fix tests

* Exit with message when trying to https intercept and also serve over https

* lint

* Disable OP_NO_SSLv2, OP_NO_SSLv3, OP_NO_TLSv1, OP_NO_TLSv1_1 when wrapping upstream server socket

* Ensure client.conn.shutdown is called if necessary.

* Add mypy check for plugin_examples.py

* Exception handling when client sends invalid requests

* Verify plugin_examples

* mypy compat

* HttpRequestRejected

1313 of 1582 relevant lines covered (83.0%)

0.83 hits per line

Source Files on job 247.1 (TESTING_ON_TRAVIS=1)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 136
  • Travis Job 247.1
  • 92142a70 on github
  • Prev Job for TESTING_ON_TRAVIS=1 on develop (#235.2)
  • Next Job for TESTING_ON_TRAVIS=1 on develop (#259.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc