]> Cypherpunks repositories - gostls13.git/commit
net/http: document setting of Proxy-Authorization header
authorDamien Neil <dneil@google.com>
Mon, 24 Jul 2023 15:24:40 +0000 (11:24 -0400)
committerDamien Neil <dneil@google.com>
Mon, 28 Aug 2023 16:42:28 +0000 (16:42 +0000)
commit0d69747d91071be62f2cf4759e10d56426b84b26
tree3430d845ff7c0dc9896a9df7be25fecc8530b84a
parent55db1750abdf3a968a7a3a08130e0878ba8939d5
net/http: document setting of Proxy-Authorization header

Add a test for setting a proxy username/password in
the HTTP_PROXY environment variable as well.

Fixes #61505

Change-Id: I31c3fa94c7bc463133321e9af9289fd47da75b46
Reviewed-on: https://go-review.googlesource.com/c/go/+/512555
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Damien Neil <dneil@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/net/http/transport.go
src/net/http/transport_test.go