- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for IsAbs (0.03 sec)
-
cmd/api-router.go
// getHost tries its best to return the request host. // According to section 14.23 of RFC 2616 the Host header // can include the port number if the default value of 80 is not used. func getHost(r *http.Request) string { if r.URL.IsAbs() { return r.URL.Host } return r.Host } func notImplementedHandler(w http.ResponseWriter, r *http.Request) { writeErrorResponse(r.Context(), w, errorCodes.ToAPIErr(ErrNotImplemented), r.URL) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed May 07 15:37:12 UTC 2025 - 23.3K bytes - Viewed (0) -
api/go1.txt
pkg net/url, func QueryUnescape(string) (string, error) pkg net/url, func User(string) *Userinfo pkg net/url, func UserPassword(string, string) *Userinfo pkg net/url, method (*Error) Error() string pkg net/url, method (*URL) IsAbs() bool pkg net/url, method (*URL) Parse(string) (*URL, error) pkg net/url, method (*URL) Query() Values pkg net/url, method (*URL) RequestURI() string pkg net/url, method (*URL) ResolveReference(*URL) *URL
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)