net/http.Request.URL (field)

124 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#L596: 	if req.URL == nil {
		client.go#L624: 			urlStr = stripPassword(resp.Request.URL)
		client.go#L626: 			urlStr = stripPassword(req.URL)
		client.go#L645: 			u, err := req.URL.Parse(loc)
		client.go#L651: 			if req.Host != "" && req.Host != req.URL.Host {
		client.go#L663: 				URL:      u,
		client.go#L683: 			if !stripSensitiveHeaders && reqs[0].URL.Host != req.URL.Host {
		client.go#L684: 				if !shouldCopyHeaderOnRedirect(reqs[0].URL, req.URL) {
		client.go#L692: 			if ref := refererForURL(reqs[len(reqs)-1].URL, req.URL, req.Header.Get("Referer")); ref != "" {
		fs.go#L685: 	if strings.HasSuffix(r.URL.Path, indexPage) {
		fs.go#L708: 		url := r.URL.Path
		fs.go#L728: 		url := r.URL.Path
		fs.go#L786: 	if q := r.URL.RawQuery; q != "" {
		fs.go#L815: 	if containsDotDot(r.URL.Path) {
		fs.go#L849: 	if containsDotDot(r.URL.Path) {
		fs.go#L989: 	upath := r.URL.Path
		fs.go#L992: 		r.URL.Path = upath
		h2_bundle.go#L6278: 		URL:        res.URL,
		h2_bundle.go#L7901: 	switch req.URL.Scheme {
		h2_bundle.go#L7912: 	addr := http2authorityAddr(req.URL.Scheme, req.URL.Host)
		h2_bundle.go#L8913: 			URL:                 req.URL,
		request.go#L130: 	URL *url.URL
		request.go#L393: 	r2.URL = cloneURL(r.URL)
		request.go#L530: 	return r.Method == "PRI" && len(r.Header) == 0 && r.URL.Path == "*" && r.Proto == "HTTP/2.0"
		request.go#L607: 		if r.URL == nil {
		request.go#L610: 		host = r.URL.Host
		request.go#L646: 	ruri := r.URL.RequestURI()
		request.go#L647: 	if usingProxy && r.URL.Scheme != "" && r.URL.Opaque == "" {
		request.go#L648: 		ruri = r.URL.Scheme + "://" + host + ruri
		request.go#L649: 	} else if r.Method == "CONNECT" && r.URL.Path == "" {
		request.go#L652: 		if r.URL.Opaque != "" {
		request.go#L653: 			ruri = r.URL.Opaque
		request.go#L915: 		URL:        u,
		request.go#L1123: 	if req.URL, err = url.ParseRequestURI(rawurl); err != nil {
		request.go#L1129: 		req.URL.Scheme = ""
		request.go#L1149: 	req.Host = req.URL.Host
		request.go#L1343: 		if r.URL != nil {
		request.go#L1345: 			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#L2375: 		p := strings.TrimPrefix(r.URL.Path, prefix)
		server.go#L2376: 		rp := strings.TrimPrefix(r.URL.RawPath, prefix)
		server.go#L2377: 		if len(p) < len(r.URL.Path) && (r.URL.RawPath == "" || len(rp) < len(r.URL.RawPath)) {
		server.go#L2380: 			r2.URL = new(url.URL)
		server.go#L2381: 			*r2.URL = *r.URL
		server.go#L2382: 			r2.URL.Path = p
		server.go#L2383: 			r2.URL.RawPath = rp
		server.go#L2411: 			oldpath := r.URL.Path
		server.go#L2697: 	host := r.URL.Host
		server.go#L2698: 	escapedPath := r.URL.EscapedPath()
		server.go#L2705: 		_, _, u := mux.matchOrRedirect(host, r.Method, path, r.URL)
		server.go#L2721: 		n, matches, u = mux.matchOrRedirect(host, r.Method, path, r.URL)
		server.go#L2731: 			u := &url.URL{Path: path, RawQuery: r.URL.RawQuery}
		server.go#L3356: 		if strings.Contains(r.URL.RawQuery, ";") {
		server.go#L3359: 			r2.URL = new(url.URL)
		server.go#L3360: 			*r2.URL = *r.URL
		server.go#L3361: 			r2.URL.RawQuery = strings.ReplaceAll(r.URL.RawQuery, ";", "&")
		transport.go#L500: 	return envProxyFunc()(req.URL)
		transport.go#L544: 	if req.URL.Scheme == "https" && req.requiresHTTP1() {
		transport.go#L562: 	return altProto[req.URL.Scheme]
		transport.go#L587: 	if req.URL == nil {
		transport.go#L595: 	scheme := req.URL.Scheme
		transport.go#L632: 	if req.URL.Host == "" {
		transport.go#L975: 	cm.targetScheme = treq.URL.Scheme
		transport.go#L976: 	cm.targetAddr = canonicalAddr(treq.URL)
		transport.go#L1850: 			URL:    &url.URL{Opaque: cm.targetAddr},

	net/http/httputil
		dump.go#L99: 	if req.URL.Scheme == "https" {
		dump.go#L102: 		reqSend.URL = new(url.URL)
		dump.go#L103: 		*reqSend.URL = *req.URL
		dump.go#L104: 		reqSend.URL.Scheme = "http"
		dump.go#L240: 		reqURI = req.URL.RequestURI()
		dump.go#L249: 		if host == "" && req.URL != nil {
		dump.go#L250: 			host = req.URL.Host
		reverseproxy.go#L284: 	req.URL.Scheme = target.Scheme
		reverseproxy.go#L285: 	req.URL.Host = target.Host
		reverseproxy.go#L286: 	req.URL.Path, req.URL.RawPath = joinURLPath(target, req.URL)
		reverseproxy.go#L287: 	if targetQuery == "" || req.URL.RawQuery == "" {
		reverseproxy.go#L288: 		req.URL.RawQuery = targetQuery + req.URL.RawQuery
		reverseproxy.go#L290: 		req.URL.RawQuery = targetQuery + "&" + req.URL.RawQuery
		reverseproxy.go#L402: 			outreq.URL.RawQuery = cleanQueryParams(outreq.URL.RawQuery)
		reverseproxy.go#L440: 		outreq.URL.RawQuery = cleanQueryParams(outreq.URL.RawQuery)

	net/http/pprof
		pprof.go#L213: 		b = bufio.NewReader(strings.NewReader(r.URL.RawQuery))
		pprof.go#L387: 	if name, found := strings.CutPrefix(r.URL.Path, "/debug/pprof/"); found {

	golang.org/x/net/http2
		server.go#L2308: 		URL:        res.URL,
		transport.go#L575: 	switch req.URL.Scheme {
		transport.go#L586: 	addr := authorityAddr(req.URL.Scheme, req.URL.Host)
		transport.go#L1581: 			URL:                 req.URL,

	golang.org/x/net/trace
		trace.go#L121: 	_, pat := http.DefaultServeMux.Handler(&http.Request{URL: &url.URL{Path: debugRequestsPath}})

	google.golang.org/grpc/internal/resolver/delegatingresolver
		delegatingresolver.go#L83: 	req := &http.Request{URL: &url.URL{
		delegatingresolver.go#L215: 	req := &http.Request{URL: &url.URL{

	google.golang.org/grpc/internal/transport
		handler_server.go#L419: 			method:         req.URL.Path,
		proxy.go#L66: 		URL:    &url.URL{Host: opts.ConnectAddr},