You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I'm working on a proxy based on hudsucker, and im pretty new to Rust. the first thing i wanna do is make proxy authorization work, it does work fine with HTTP, but with HTTPS it's different, since there is a CONNECT request done first, so when the actual request go through, the header is dropped, is there anything builtin in hudsucker or Rust to handle this issue properly ?
The text was updated successfully, but these errors were encountered:
i don't get it, what's the point of returning 407 ? I made it work by checking if it's CONNECT then saving the proxy-authorization header. but somehow it doesn't work in the browser, the header is not there at all
I assumed you would want to return a 407 if the client hasn't properly authenticated themselves. The browser won't include the proxy-authorization header for HTTPS requests because in a typical setup they would not be visible to a proxy server, which is why any checks you want to do should be on the CONNECT request.
Hi
I'm working on a proxy based on hudsucker, and im pretty new to Rust. the first thing i wanna do is make proxy authorization work, it does work fine with HTTP, but with HTTPS it's different, since there is a CONNECT request done first, so when the actual request go through, the header is dropped, is there anything builtin in hudsucker or Rust to handle this issue properly ?
The text was updated successfully, but these errors were encountered: