net/http.Request.Host (field)
25 uses
net/http (current package)
client.go#L176: if req.Host != "" {
client.go#L178: cookieURL.Host = req.Host
client.go#L656: if req.Host != "" && req.Host != req.URL.Host {
client.go#L661: host = req.Host
client.go#L670: Host: host,
clientconn.go#L146: Host: host,
csrf.go#L161: if o, err := url.Parse(origin); err == nil && o.Host == req.Host {
h2_bundle.go#L6313: Host: rp.Authority,
h2_bundle.go#L7087: u.Host = w.rws.req.Host
h2_bundle.go#L8921: 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#L2675: n, matches, _ = mux.matchOrRedirect(r.Host, r.Method, path, nil)
server.go#L2679: host = stripHostPort(r.Host)
transport.go#L1883: Host: cm.targetAddr,
github.com/coder/websocket
accept.go#L239: if strings.EqualFold(r.Host, u.Host) {
accept.go#L259: return fmt.Errorf("request Origin %q is not authorized for Host %q", u.Host, r.Host)
dial.go#L209: req.Host = opts.Host
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |