net/url.URL.Path (field)

59 uses

	net/url (current package)
		url.go#L280: 	Path     string    // path (relative paths may omit leading slash)
		url.go#L445: 		url.Path = "*"
		url.go#L664: 	u.Path = path
		url.go#L689: 		if err == nil && p == u.Path {
		url.go#L693: 	if u.Path == "*" {
		url.go#L696: 	return escape(u.Path, encodePath)
		url.go#L809: 		n += len(u.Path)
		url.go#L826: 				if u.Host != "" || u.Path != "" || u.User != nil {
		url.go#L1127: 		url.Path = ""
		url.go#L1130: 	if ref.Path == "" && !ref.ForceQuery && ref.RawQuery == "" {
		url.go#L1137: 	if ref.Path == "" && u.Opaque != "" {
		url.go#L1141: 		url.Path = ""

	net/http
		clientconn.go#L139: 				Path:   "/",
		csrf.go#L68: 	if u.Path != "" || u.RawQuery != "" || u.Fragment != "" {
		fs.go#L174: 		url := url.URL{Path: name}
		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#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
		request.go#L530: 	return r.Method == "PRI" && len(r.Header) == 0 && r.URL.Path == "*" && r.Proto == "HTTP/2.0"
		request.go#L649: 	} else if r.Method == "CONNECT" && r.URL.Path == "" {
		servemux121.go#L111: 		if u, ok := mux.redirectToPathSlash(r.URL.Host, r.URL.Path, r.URL); ok {
		servemux121.go#L112: 			return RedirectHandler(u.String(), StatusMovedPermanently), u.Path
		servemux121.go#L115: 		return mux.handler(r.Host, r.URL.Path)
		servemux121.go#L121: 	path := cleanPath(r.URL.Path)
		servemux121.go#L126: 		return RedirectHandler(u.String(), StatusMovedPermanently), u.Path
		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)
		servemux121.go#L188: 	u = &url.URL{Path: path, RawQuery: u.RawQuery}
		server.go#L2339: 		p := strings.TrimPrefix(r.URL.Path, prefix)
		server.go#L2341: 		if len(p) < len(r.URL.Path) && (r.URL.RawPath == "" || len(rp) < len(r.URL.RawPath)) {
		server.go#L2346: 			r2.URL.Path = p
		server.go#L2671: 			return RedirectHandler(u.String(), StatusTemporaryRedirect), u.Path, nil, nil
		server.go#L2695: 			u := &url.URL{Path: path, RawQuery: r.URL.RawQuery}
		server.go#L2740: 			return n2, nil, &url.URL{Path: cleanPath(u.Path) + "/", RawQuery: u.RawQuery}

	net/http/httputil
		reverseproxy.go#L290: 		return singleJoiningSlash(a.Path, b.Path), ""
		reverseproxy.go#L302: 		return a.Path + b.Path[1:], apath + bpath[1:]
		reverseproxy.go#L304: 		return a.Path + "/" + b.Path, apath + "/" + bpath
		reverseproxy.go#L306: 	return a.Path + b.Path, apath + bpath
		reverseproxy.go#L344: 	req.URL.Path, req.URL.RawPath = joinURLPath(target, req.URL)

	net/http/pprof
		pprof.go#L395: 	if name, found := strings.CutPrefix(r.URL.Path, "/debug/pprof/"); found {
		pprof.go#L456: 		link := &url.URL{Path: profile.Href, RawQuery: "debug=1"}

	github.com/jackc/pgx/v5/pgconn
		config.go#L668: 	database := strings.TrimLeft(parsedURL.Path, "/")

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

	google.golang.org/grpc/internal/credentials
		spiffe.go#L59: 		if len(uri.Host) == 0 || len(uri.Path) == 0 {

	google.golang.org/grpc/internal/resolver/delegatingresolver
		delegatingresolver.go#L173: 	url.Path = "/" + r.proxyURL.Host

	google.golang.org/grpc/internal/resolver/unix
		unix.go#L46: 	endpoint := target.URL.Path

	google.golang.org/grpc/internal/transport
		handler_server.go#L419: 			method:         req.URL.Path,
		http_util.go#L623: 		addr := t.Path

	google.golang.org/grpc/resolver
		resolver.go#L280: 	endpoint := t.URL.Path