hatoo / http-mitm-proxy

A HTTP proxy server library intended to be a backend of application like Burp proxy
MIT License
22 stars 2 forks source link

Match HTTP version from browser and proxy's client #54

Closed hatoo closed 4 weeks ago

hatoo commented 1 month ago

Currently, alpn of DefaultClient's TLS connector is static. If a browser requests HTTP/1.1 requests on proxy but the server accepts h2, HTTP versions will differ. It causes problem on https://echo.websocket.org/.ws