]> git.arvados.org - arvados.git/blob - sdk/go/auth/basic_auth_go14.go
5824: Enable anonymous use of keep-web in integration tests.
[arvados.git] / sdk / go / auth / basic_auth_go14.go
1 // +build go1.4
2
3 package auth
4
5 import (
6         "net/http"
7 )
8
9 func BasicAuth(r *http.Request) (username, password string, ok bool) {
10         return r.BasicAuth()
11 }