aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime
diff options
context:
space:
mode:
authorKelsey Hightower <kelsey.hightower@gmail.com>2014-08-29 22:19:30 -0700
committerBrad Fitzpatrick <bradfitz@golang.org>2014-08-29 22:19:30 -0700
commit29f9f3ec80237ff0b2eb17f042747c08a10e0a14 (patch)
tree7fefd889cb89570ceffa5b2ff4c279ad740e5416 /src/pkg/runtime
parent397bdb216f705a3e3221c98904237820d4950042 (diff)
downloadgo-29f9f3ec80237ff0b2eb17f042747c08a10e0a14.tar.xz
net/http: add BasicAuth method to *http.Request
The net/http package supports setting the HTTP Authorization header using the Basic Authentication Scheme as defined in RFC 2617, but does not provide support for extracting the username and password from an authenticated request using the Basic Authentication Scheme. Add BasicAuth method to *http.Request that returns the username and password from authenticated requests using the Basic Authentication Scheme. Fixes #6779. LGTM=bradfitz R=golang-codereviews, josharian, bradfitz, alberto.garcia.hierro, blakesgentry CC=golang-codereviews https://golang.org/cl/76540043
Diffstat (limited to 'src/pkg/runtime')
0 files changed, 0 insertions, 0 deletions