cri-o/vendor/github.com/docker/distribution/registry/handlers/basicauth.go

12 lines
154 B
Go
Raw Normal View History

// +build go1.4
package handlers
import (
"net/http"
)
func basicAuth(r *http.Request) (username, password string, ok bool) {
return r.BasicAuth()
}