]> Cypherpunks repositories - gostls13.git/commit
net/http: document that Basic Auth may require URL encoding
authorBenoit Sigoure <tsunanet@gmail.com>
Mon, 22 Apr 2019 21:35:01 +0000 (14:35 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 22 Apr 2019 22:54:41 +0000 (22:54 +0000)
commit415da714fa2b7e96743e14fe0a33f02ae8c8dd5b
tree3dc58507a3aa957f2da090422b183c9831ae0770
parent1f0c102a57f62de6f66381c75732ba486da7b904
net/http: document that Basic Auth may require URL encoding

Explicitly warn callers that no URL encoding is performed and
that they might need to do it.

Fixes #31577

Change-Id: I52dc3fd2798ba8c3652d4a967b1c5c48eb69f43b
Reviewed-on: https://go-review.googlesource.com/c/go/+/173319
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/request.go