net/http.Request.URL (field)

84 uses

	net/http (current package)
		client.go#L171: 		for _, cookie := range c.Jar.Cookies(req.URL) {
		client.go#L181: 			c.Jar.SetCookies(req.URL, rc)
		client.go#L211: 	if req.URL == nil {
		client.go#L238: 	if u := req.URL.User; u != nil && req.Header.Get("Authorization") == "" {
		client.go#L594: 	if req.URL == nil {
		client.go#L620: 			urlStr = stripPassword(resp.Request.URL)
		client.go#L622: 			urlStr = stripPassword(req.URL)
		client.go#L639: 			u, err := req.URL.Parse(loc)
		client.go#L645: 			if req.Host != "" && req.Host != req.URL.Host {
		client.go#L657: 				URL:      u,
		client.go#L680: 			if ref := refererForURL(reqs[len(reqs)-1].URL, req.URL); ref != "" {
		client.go#L795: 			if shouldCopyHeaderOnRedirect(k, preq.URL, req.URL) {
		fs.go#L592: 	if strings.HasSuffix(r.URL.Path, indexPage) {
		fs.go#L615: 		url := r.URL.Path
		fs.go#L630: 		url := r.URL.Path
		fs.go#L686: 	if q := r.URL.RawQuery; q != "" {
		fs.go#L715: 	if containsDotDot(r.URL.Path) {
		fs.go#L843: 	upath := r.URL.Path
		fs.go#L846: 		r.URL.Path = upath
		h2_bundle.go#L5673: 		URL:        url_,
		h2_bundle.go#L6968: 	if !(req.URL.Scheme == "https" || (req.URL.Scheme == "http" && t.AllowHTTP)) {
		h2_bundle.go#L6972: 	addr := http2authorityAddr(req.URL.Scheme, req.URL.Host)
		h2_bundle.go#L7978: 		host = req.URL.Host
		h2_bundle.go#L7987: 		path = req.URL.RequestURI()
		h2_bundle.go#L7990: 			path = strings.TrimPrefix(path, req.URL.Scheme+"://"+host)
		h2_bundle.go#L7992: 				if req.URL.Opaque != "" {
		h2_bundle.go#L7993: 					return nil, fmt.Errorf("invalid request :path %q from URL.Opaque = %q", orig, req.URL.Opaque)
		h2_bundle.go#L8029: 			f(":scheme", req.URL.Scheme)
		request.go#L123: 	URL *url.URL
		request.go#L361: 	r2.URL = cloneURL(r.URL) // legacy behavior; TODO: try to remove. Issue 23544
		request.go#L378: 	r2.URL = cloneURL(r.URL)
		request.go#L496: 	return r.Method == "PRI" && len(r.Header) == 0 && r.URL.Path == "*" && r.Proto == "HTTP/2.0"
		request.go#L572: 		if r.URL == nil {
		request.go#L575: 		host = cleanHost(r.URL.Host)
		request.go#L583: 	ruri := r.URL.RequestURI()
		request.go#L584: 	if usingProxy && r.URL.Scheme != "" && r.URL.Opaque == "" {
		request.go#L585: 		ruri = r.URL.Scheme + "://" + host + ruri
		request.go#L586: 	} else if r.Method == "CONNECT" && r.URL.Path == "" {
		request.go#L589: 		if r.URL.Opaque != "" {
		request.go#L590: 			ruri = r.URL.Opaque
		request.go#L879: 		URL:        u,
		request.go#L1064: 	if req.URL, err = url.ParseRequestURI(rawurl); err != nil {
		request.go#L1070: 		req.URL.Scheme = ""
		request.go#L1087: 	req.Host = req.URL.Host
		request.go#L1267: 		if r.URL != nil {
		request.go#L1269: 			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)
		server.go#L2103: 		p := strings.TrimPrefix(r.URL.Path, prefix)
		server.go#L2104: 		rp := strings.TrimPrefix(r.URL.RawPath, prefix)
		server.go#L2105: 		if len(p) < len(r.URL.Path) && (r.URL.RawPath == "" || len(rp) < len(r.URL.RawPath)) {
		server.go#L2108: 			r2.URL = new(url.URL)
		server.go#L2109: 			*r2.URL = *r.URL
		server.go#L2110: 			r2.URL.Path = p
		server.go#L2111: 			r2.URL.RawPath = rp
		server.go#L2137: 			oldpath := r.URL.Path
		server.go#L2390: 		if u, ok := mux.redirectToPathSlash(r.URL.Host, r.URL.Path, r.URL); ok {
		server.go#L2394: 		return mux.handler(r.Host, r.URL.Path)
		server.go#L2400: 	path := cleanPath(r.URL.Path)
		server.go#L2404: 	if u, ok := mux.redirectToPathSlash(host, path, r.URL); ok {
		server.go#L2408: 	if path != r.URL.Path {
		server.go#L2410: 		url := *r.URL
		server.go#L2415: 	return mux.handler(host, r.URL.Path)
		transport.go#L438: 	return envProxyFunc()(req.URL)
		transport.go#L480: 	if req.URL.Scheme == "https" && req.requiresHTTP1() {
		transport.go#L498: 	return altProto[req.URL.Scheme]
		transport.go#L507: 	if req.URL == nil {
		transport.go#L515: 	scheme := req.URL.Scheme
		transport.go#L554: 	if req.URL.Host == "" {
		transport.go#L827: 	cm.targetScheme = treq.URL.Scheme
		transport.go#L828: 	cm.targetAddr = canonicalAddr(treq.URL)
		transport.go#L1667: 			URL:    &url.URL{Opaque: cm.targetAddr},