net/http.Request.Host (field)
27 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,
csrf.go#L157: if o, err := url.Parse(origin); err == nil && o.Host == req.Host {
h2_bundle.go#L6286: Host: rp.Authority,
h2_bundle.go#L7061: u.Host = w.rws.req.Host
h2_bundle.go#L8914: 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#L2711: n, matches, _ = mux.matchOrRedirect(r.Host, r.Method, path, nil)
server.go#L2715: host = stripHostPort(r.Host)
transport.go#L1851: Host: cm.targetAddr,
net/http/httputil
dump.go#L248: host := req.Host
reverseproxy.go#L58: r.Out.Host = ""
reverseproxy.go#L91: r.Out.Header.Set("X-Forwarded-Host", r.In.Host)
golang.org/x/net/http2
server.go#L2316: Host: rp.Authority,
server.go#L3090: u.Host = w.rws.req.Host
transport.go#L1582: 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)