Proposal Details
the golang net/http package has an inconsistency with other similar implementations that handles PROXY environment variable.
the uppercase version of the environment variable takes precedance over the lowercase version (source)
This is in contrast with other implementations
This can have unexpected behaviours when individuals expect when overriding existing ENV variables with the lowercase env var (it will not be overridden)
There is a worry that modifying this could cause an issue due to Hyrum's Law, however I believe moving away from the uppercase version (even potentially removing HTTP_PROXY due to HTTPOXY) would be beneficial in the long run
Proposal Details
the golang net/http package has an inconsistency with other similar implementations that handles PROXY environment variable.
the uppercase version of the environment variable takes precedance over the lowercase version (source)
This is in contrast with other implementations
This can have unexpected behaviours when individuals expect when overriding existing ENV variables with the lowercase env var (it will not be overridden)
There is a worry that modifying this could cause an issue due to Hyrum's Law, however I believe moving away from the uppercase version (even potentially removing HTTP_PROXY due to HTTPOXY) would be beneficial in the long run