net/http.Request.URL (field)

95 uses

	net/http (current package)
		client.go#L175: 	cookieURL := req.URL
		client.go#L224: 	if req.URL == nil {
		client.go#L251: 	if u := req.URL.User; u != nil && req.Header.Get("Authorization") == "" {
		client.go#L601: 	if req.URL == nil {
		client.go#L629: 			urlStr = stripPassword(resp.Request.URL)
		client.go#L631: 			urlStr = stripPassword(req.URL)
		client.go#L650: 			u, err := req.URL.Parse(loc)
		client.go#L656: 			if req.Host != "" && req.Host != req.URL.Host {
		client.go#L668: 				URL:      u,
		client.go#L688: 			if !stripSensitiveHeaders && reqs[0].URL.Host != req.URL.Host {
		client.go#L689: 				if !shouldCopyHeaderOnRedirect(reqs[0].URL, req.URL) {
		client.go#L696: 			if ref := refererForURL(reqs[len(reqs)-1].URL, req.URL, req.Header.Get("Referer")); ref != "" {
		clientconn.go#L136: 			URL: &url.URL{
		clientconn.go#L215: 	if req.URL == nil {
		clientconn.go#L232: 	if req.URL.Host == "" {
		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#L6305: 		URL:        res.URL,
		h2_bundle.go#L7881: 	switch req.URL.Scheme {
		h2_bundle.go#L7892: 	addr := http2authorityAddr(req.URL.Scheme, req.URL.Host)
		h2_bundle.go#L8920: 			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#L2339: 		p := strings.TrimPrefix(r.URL.Path, prefix)
		server.go#L2340: 		rp := strings.TrimPrefix(r.URL.RawPath, prefix)
		server.go#L2341: 		if len(p) < len(r.URL.Path) && (r.URL.RawPath == "" || len(rp) < len(r.URL.RawPath)) {
		server.go#L2344: 			r2.URL = new(url.URL)
		server.go#L2345: 			*r2.URL = *r.URL
		server.go#L2346: 			r2.URL.Path = p
		server.go#L2347: 			r2.URL.RawPath = rp
		server.go#L2375: 			oldpath := r.URL.EscapedPath()
		server.go#L2661: 	host := r.URL.Host
		server.go#L2662: 	escapedPath := r.URL.EscapedPath()
		server.go#L2669: 		_, _, u := mux.matchOrRedirect(host, r.Method, path, r.URL)
		server.go#L2685: 		n, matches, u = mux.matchOrRedirect(host, r.Method, path, r.URL)
		server.go#L2695: 			u := &url.URL{Path: path, RawQuery: r.URL.RawQuery}
		server.go#L3327: 		if strings.Contains(r.URL.RawQuery, ";") {
		server.go#L3330: 			r2.URL = new(url.URL)
		server.go#L3331: 			*r2.URL = *r.URL
		server.go#L3332: 			r2.URL.RawQuery = strings.ReplaceAll(r.URL.RawQuery, ";", "&")
		transport.go#L508: 	return envProxyFunc()(req.URL)
		transport.go#L552: 	if req.URL.Scheme == "https" && req.requiresHTTP1() {
		transport.go#L570: 	return altProto[req.URL.Scheme]
		transport.go#L595: 	if req.URL == nil {
		transport.go#L603: 	scheme := req.URL.Scheme
		transport.go#L640: 	if req.URL.Host == "" {
		transport.go#L985: 	cm.targetScheme = treq.URL.Scheme
		transport.go#L986: 	cm.targetAddr = canonicalAddr(treq.URL)
		transport.go#L1882: 			URL:    &url.URL{Opaque: cm.targetAddr},

	github.com/coder/websocket
		dial.go#L91: 		switch req.URL.Scheme {
		dial.go#L93: 			req.URL.Scheme = "http"
		dial.go#L95: 			req.URL.Scheme = "https"