]> Cypherpunks repositories - gostls13.git/commit
net/http: Fix basic authentication with empty password
authorAlberto GarcĂ­a Hierro <alberto@garciahierro.com>
Tue, 14 May 2013 22:33:46 +0000 (15:33 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 14 May 2013 22:33:46 +0000 (15:33 -0700)
commitd535bc7af3290c6f09eeb391e0ef00f374f9b743
treeb2c68edd0b58c9f7a2e02a7e28f819fca92fd9ed
parent55c14fde8a4eeb7377821663237d381221f615e1
net/http: Fix basic authentication with empty password

        The encoded string must include the : separating the username
        and the password, even when the latter is empty. See
        http://www.ietf.org/rfc/rfc2617.txt for more information.

R=golang-dev, bradfitz, adg
CC=golang-dev
https://golang.org/cl/8475043
src/pkg/net/http/client.go
src/pkg/net/http/client_test.go