qwj / python-proxy

HTTP/HTTP2/HTTP3/Socks4/Socks5/Shadowsocks/ShadowsocksR/SSH/Redirect/Pf TCP/UDP asynchronous tunnel proxy implemented in Python 3 asyncio.
MIT License
1.93k stars 323 forks source link

有没有办法拦截特定的路径并返回特定的响应 #178

Open hello-09x opened 5 months ago

hello-09x commented 5 months ago

想根据路径返回特定的响应,或者可以转到另外一个本地server来处理 谢谢~

Jonney commented 2 months ago

HTTPS communication is encrypted, so even proxy servers cannot obtain the path.