elixir-mint / mint

Functional HTTP client for Elixir with support for HTTP/1 and HTTP/2 🌱
Apache License 2.0
1.36k stars 112 forks source link

Add proxy_headers field to HTTP structs and fill this field in tunnel proxy #329

Closed exit9 closed 3 years ago

exit9 commented 3 years ago

When connecting over HTTPS the only way to talk with proxy server is sending and receiving headers on connect method.

ericmj commented 3 years ago

A function to access the proxy headers is also needed since the struct fields are private API.