code: func basicAuth(r *http.Request) (username, password string, ok bool) {
  	auth := r.Header.Get("Authorization")
  	if auth == "" {
  		return
  	}
  	return parseBasicAuth(auth)
  }
docs: // NOTE(stevvooe): This is basic auth support from go1.4 present to ensure we
  // can compile on go1.3 and earlier.
  // BasicAuth returns the username and password provided in the request's
  // Authorization header, if the request uses HTTP Basic Authentication.
  // See RFC 2617, Section 2.