net/http.Request.Host (field)
26 uses
net/http (current package)
client.go#L651: if req.Host != "" && req.Host != req.URL.Host {
client.go#L656: host = req.Host
client.go#L665: Host: host,
h2_bundle.go#L6427: Host: rp.authority,
h2_bundle.go#L7204: u.Host = w.rws.req.Host
h2_bundle.go#L9518: host := req.Host
request.go#L245: Host string
request.go#L605: host := r.Host
request.go#L921: Host: u.Host,
request.go#L1149: req.Host = req.URL.Host
request.go#L1150: if req.Host == "" {
request.go#L1151: req.Host = req.Header.get("Host")
servemux121.go#L115: return mux.handler(r.Host, r.URL.Path)
servemux121.go#L120: host := stripHostPort(r.Host)
server.go#L2676: n, matches, _ = mux.matchOrRedirect(r.Host, r.Method, path, nil)
server.go#L2680: host = stripHostPort(r.Host)
transport.go#L1848: Host: cm.targetAddr,
net/http/httputil
dump.go#L248: host := req.Host
reverseproxy.go#L56: r.Out.Host = ""
reverseproxy.go#L89: r.Out.Header.Set("X-Forwarded-Host", r.In.Host)
golang.org/x/net/http2
server.go#L2333: Host: rp.Authority,
server.go#L3108: u.Host = w.rws.req.Host
transport.go#L1634: Host: req.Host,
google.golang.org/grpc/internal/transport
handler_server.go#L117: if r.Host != "" {
handler_server.go#L118: metakv = append(metakv, ":authority", r.Host)