Skip to content

net/http: ProxyFromEnvironment documentation is wrong #54890

Closed
@dfawley

Description

@dfawley

After the change in #40909 (referenced via #45227), the documentation for ProxyFromEnvironment still incorrectly claims:

HTTPS_PROXY takes precedence over HTTP_PROXY for https requests.

It seems HTTP_PROXY is no longer used at all for https requests. The documentation here should have been fixed when the breaking change was made in Go 1.16.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationIssues describing a change to documentation.FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions