mike820324 / microProxy

A http/https interceptor written in pure python.
MIT License
17 stars 3 forks source link

Implement http proxy #235

Closed chhsiao90 closed 7 years ago

chhsiao90 commented 7 years ago

Implement http proxy! Should still need refine some code and add more unittest

You could test with

mpserver --mode http
curl -x localhost:5580 http://www.google.com
curl -x localhost:5580 http://www.google.com -p
curl -x localhost:5580 https://www.google.com -k

Still WIP, but if you could help review and advice that would great! Thanks

chhsiao90 commented 7 years ago

Ref: #202

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.1%) to 85.812% when pulling b914c73253a60f1d311e5b8972d1eb53ba52354f on http-proxy into 689ac52c7502e6f46f4f28b25c4dbc25cfe5ec81 on master.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.1%) to 85.799% when pulling ab6eadf35b0d7260887a067bde8486706130aa74 on http-proxy into 689ac52c7502e6f46f4f28b25c4dbc25cfe5ec81 on master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.5%) to 86.443% when pulling 161cb8358b3461ca25cd28ce8c316bccb6fad136 on http-proxy into 689ac52c7502e6f46f4f28b25c4dbc25cfe5ec81 on master.

mike820324 commented 7 years ago

I'll take a look at it. Thanks for the great work.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.5%) to 86.462% when pulling 9ba646be74430c50c329187c9ffe81390c1e5a4e on http-proxy into 689ac52c7502e6f46f4f28b25c4dbc25cfe5ec81 on master.

mike820324 commented 7 years ago

merged thanks.