net/http: DefaultTransport documentation should describe HTTPS_PROXY #32649
Labels
Documentation
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Affirmative.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
In https://golang.org/pkg/net/http/#RoundTripper, the online manual explains the following for RoundTripper:
Although DefaultTransport uses proxy settings from system environment via ProxyFromEnvironment, which not even recognises HTTP proxy, but HTTPS proxy also:
DefaultTransport
indeed behaves correctly and recognises both HTTPS and HTTP proxy settings from system environment. Therefore, please elaborate about the support of HTTPS proxy in the documentation forDefaultTransport
.Thanks!
The text was updated successfully, but these errors were encountered: