net/http.Request.URL (field)
100 uses
net/http (current package)
client.go#L176: for _, cookie := range c.Jar.Cookies(req.URL) {
client.go#L186: c.Jar.SetCookies(req.URL, rc)
client.go#L219: if req.URL == nil {
client.go#L246: if u := req.URL.User; u != nil && req.Header.Get("Authorization") == "" {
client.go#L599: if req.URL == nil {
client.go#L627: urlStr = stripPassword(resp.Request.URL)
client.go#L629: urlStr = stripPassword(req.URL)
client.go#L648: u, err := req.URL.Parse(loc)
client.go#L654: if req.Host != "" && req.Host != req.URL.Host {
client.go#L666: URL: u,
client.go#L685: if !stripSensitiveHeaders && reqs[0].URL.Host != req.URL.Host {
client.go#L686: if !shouldCopyHeaderOnRedirect(reqs[0].URL, req.URL) {
client.go#L694: if ref := refererForURL(reqs[len(reqs)-1].URL, req.URL, req.Header.Get("Referer")); ref != "" {
fs.go#L680: if strings.HasSuffix(r.URL.Path, indexPage) {
fs.go#L703: url := r.URL.Path
fs.go#L723: url := r.URL.Path
fs.go#L778: if q := r.URL.RawQuery; q != "" {
fs.go#L807: if containsDotDot(r.URL.Path) {
fs.go#L841: if containsDotDot(r.URL.Path) {
fs.go#L981: upath := r.URL.Path
fs.go#L984: r.URL.Path = upath
h2_bundle.go#L6139: URL: url_,
h2_bundle.go#L7726: if !(req.URL.Scheme == "https" || (req.URL.Scheme == "http" && t.AllowHTTP)) {
h2_bundle.go#L7730: addr := http2authorityAddr(req.URL.Scheme, req.URL.Host)
h2_bundle.go#L9109: if req.URL == nil {
h2_bundle.go#L9115: host = req.URL.Host
h2_bundle.go#L9127: path = req.URL.RequestURI()
h2_bundle.go#L9130: path = strings.TrimPrefix(path, req.URL.Scheme+"://"+host)
h2_bundle.go#L9132: if req.URL.Opaque != "" {
h2_bundle.go#L9133: return nil, fmt.Errorf("invalid request :path %q from URL.Opaque = %q", orig, req.URL.Opaque)
h2_bundle.go#L9165: f(":scheme", req.URL.Scheme)
request.go#L129: URL *url.URL
request.go#L392: r2.URL = cloneURL(r.URL)
request.go#L539: return r.Method == "PRI" && len(r.Header) == 0 && r.URL.Path == "*" && r.Proto == "HTTP/2.0"
request.go#L616: if r.URL == nil {
request.go#L619: host = r.URL.Host
request.go#L655: ruri := r.URL.RequestURI()
request.go#L656: if usingProxy && r.URL.Scheme != "" && r.URL.Opaque == "" {
request.go#L657: ruri = r.URL.Scheme + "://" + host + ruri
request.go#L658: } else if r.Method == "CONNECT" && r.URL.Path == "" {
request.go#L661: if r.URL.Opaque != "" {
request.go#L662: ruri = r.URL.Opaque
request.go#L924: URL: u,
request.go#L1132: if req.URL, err = url.ParseRequestURI(rawurl); err != nil {
request.go#L1138: req.URL.Scheme = ""
request.go#L1158: req.Host = req.URL.Host
request.go#L1352: if r.URL != nil {
request.go#L1354: newValues, e = url.ParseQuery(r.URL.RawQuery)
response.go#L142: if r.Request != nil && r.Request.URL != nil {
response.go#L143: return r.Request.URL.Parse(lv)
servemux121.go#L111: if u, ok := mux.redirectToPathSlash(r.URL.Host, r.URL.Path, r.URL); ok {
servemux121.go#L115: return mux.handler(r.Host, r.URL.Path)
servemux121.go#L121: path := cleanPath(r.URL.Path)
servemux121.go#L125: if u, ok := mux.redirectToPathSlash(host, path, r.URL); ok {
servemux121.go#L129: if path != r.URL.Path {
servemux121.go#L131: u := &url.URL{Path: path, RawQuery: r.URL.RawQuery}
servemux121.go#L135: return mux.handler(host, r.URL.Path)
server.go#L2273: p := strings.TrimPrefix(r.URL.Path, prefix)
server.go#L2274: rp := strings.TrimPrefix(r.URL.RawPath, prefix)
server.go#L2275: if len(p) < len(r.URL.Path) && (r.URL.RawPath == "" || len(rp) < len(r.URL.RawPath)) {
server.go#L2278: r2.URL = new(url.URL)
server.go#L2279: *r2.URL = *r.URL
server.go#L2280: r2.URL.Path = p
server.go#L2281: r2.URL.RawPath = rp
server.go#L2307: oldpath := r.URL.Path
server.go#L2587: host := r.URL.Host
server.go#L2588: escapedPath := r.URL.EscapedPath()
server.go#L2595: _, _, u := mux.matchOrRedirect(host, r.Method, path, r.URL)
server.go#L2611: n, matches, u = mux.matchOrRedirect(host, r.Method, path, r.URL)
server.go#L2621: u := &url.URL{Path: path, RawQuery: r.URL.RawQuery}
server.go#L3226: if strings.Contains(r.URL.RawQuery, ";") {
server.go#L3229: r2.URL = new(url.URL)
server.go#L3230: *r2.URL = *r.URL
server.go#L3231: r2.URL.RawQuery = strings.ReplaceAll(r.URL.RawQuery, ";", "&")
transport.go#L448: return envProxyFunc()(req.URL)
transport.go#L492: if req.URL.Scheme == "https" && req.requiresHTTP1() {
transport.go#L510: return altProto[req.URL.Scheme]
transport.go#L535: if req.URL == nil {
transport.go#L543: scheme := req.URL.Scheme
transport.go#L580: if req.URL.Host == "" {
transport.go#L923: cm.targetScheme = treq.URL.Scheme
transport.go#L924: cm.targetAddr = canonicalAddr(treq.URL)
transport.go#L1795: URL: &url.URL{Opaque: cm.targetAddr},
github.com/coinbase/cdp-sdk/go
cdp.go#L64: RequestPath: req.URL.Path,
cdp.go#L87: if !strings.Contains(req.URL.Path, "/accounts") {
cdp.go#L112: RequestPath: req.URL.Path,
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |