]> Cypherpunks repositories - gostls13.git/commit
net/http: Various fixes to Basic authentication
authorPieter Droogendijk <pieter@binky.org.uk>
Wed, 7 Aug 2013 18:58:59 +0000 (11:58 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 7 Aug 2013 18:58:59 +0000 (11:58 -0700)
commita08b1d13eaff45b0506369269ee9c597f3355646
treeffcf5058c6fc186a9981f933789853f81478a9be
parent2b45124a598be04cfa7aad9de43f7cbb465603f8
net/http: Various fixes to Basic authentication

There were some issues with the code sometimes using base64.StdEncoding,
and sometimes base64.URLEncoding.
Encoding basic authentication is now always done by the same code.

Fixes #5970.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/12397043
src/pkg/net/http/client.go
src/pkg/net/http/client_test.go
src/pkg/net/http/request.go
src/pkg/net/http/transport.go
src/pkg/net/url/url.go