Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for parseBasicAuth (0.1 sec)

  1. src/net/http/request.go

    	auth := r.Header.Get("Authorization")
    	if auth == "" {
    		return "", "", false
    	}
    	return parseBasicAuth(auth)
    }
    
    // parseBasicAuth parses an HTTP Basic Authentication string.
    // "Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==" returns ("Aladdin", "open sesame", true).
    //
    // parseBasicAuth should be an internal detail,
    // but widely used packages access it using linkname.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
Back to top