abhinavsingh / proxy.py

💫 Ngrok FRP Alternative • ⚡ Fast • 🪶 Lightweight • 0️⃣ Dependency • 🔌 Pluggable • 😈 TLS interception • 🔒 DNS-over-HTTPS • 🔥 Poor Man's VPN • ⏪ Reverse & ⏩ Forward • 👮🏿 "Proxy Server" framework • 🌐 "Web Server" framework • ➵ ➶ ➷ ➠ "PubSub" framework • 👷 "Work" acceptor & executor framework
https://abhinavsingh.com/proxy-py-a-lightweight-single-file-http-proxy-server-in-python/
BSD 3-Clause "New" or "Revised" License
3.01k stars 573 forks source link

fix: Bypass proxy authentication with HTTP/1.0 requests #1267 #1342

Closed dongfangtianyu closed 5 months ago

dongfangtianyu commented 1 year ago

Reproduction conditions:

Use proxy.py with the requests library to access a target URL with the HTTPS protocol.

requests does not provide a request header, causing AuthPlugin to be bypassed.

abhinavsingh commented 5 months ago

@dongfangtianyu Thank you for the PR, and apologies for delaying the merge, was away from OSS for long. I have restarted the workflows and shall merge once after they passed. Best

abhinavsingh commented 5 months ago

@dongfangtianyu Thanks again for the PR, merged.