elazarl / goproxy

An HTTP proxy library for Go
BSD 3-Clause "New" or "Revised" License
6.06k stars 1.1k forks source link

Persist authentication information through handlers #457

Open farajist opened 2 years ago

farajist commented 2 years ago

Thanks for the amazing work,

As it is now, the auth extension discards Proxy-Authorization header and therefore no auth information remains when request is passed to the next handler, which can be limiting for some features like rate limiting (based on auth credentials) ...etc.

I think this has been addressed in #291, are there any plans to support the change, or implementation guidance to contribute ?

mvanholsteijn commented 2 years ago

I also need the ability to add a Proxy-Authorization header to an outgoing connection.