net/url.URL.Host (field)

40 uses

	net/url (current package)
		url.go#L374: 	Host        string    // host or host:port (see Hostname and Port methods)
		url.go#L567: 		url.User, url.Host, err = parseAuthority(authority)
		url.go#L836: 		if !u.OmitHost && (u.Scheme != "" || u.Host != "" || u.User != nil) {
		url.go#L839: 			n += len(username) + len(password) + len(u.Host)
		url.go#L854: 		if u.Scheme != "" || u.Host != "" || u.User != nil {
		url.go#L855: 			if u.OmitHost && u.Host == "" && u.User == nil {
		url.go#L858: 				if u.Host != "" || u.Path != "" || u.User != nil {
		url.go#L865: 				if h := u.Host; h != "" {
		url.go#L871: 		if path != "" && path[0] != '/' && u.Host != "" {
		url.go#L1121: 	if ref.Scheme != "" || ref.Host != "" || ref.User != nil {
		url.go#L1130: 		url.Host = ""
		url.go#L1144: 		url.Host = ""
		url.go#L1149: 	url.Host = u.Host
		url.go#L1188: 	host, _ := splitHostPort(u.Host)
		url.go#L1196: 	_, port := splitHostPort(u.Host)

	net/http
		client.go#L654: 			if req.Host != "" && req.Host != req.URL.Host {
		client.go#L685: 			if !stripSensitiveHeaders && reqs[0].URL.Host != req.URL.Host {
		h2_bundle.go#L6121: 		url_ = &url.URL{Host: rp.authority}
		h2_bundle.go#L6919: 		u.Host = w.rws.req.Host
		h2_bundle.go#L6924: 		if u.Host == "" {
		h2_bundle.go#L7045: 			authority: msg.url.Host,
		h2_bundle.go#L7730: 	addr := http2authorityAddr(req.URL.Scheme, req.URL.Host)
		h2_bundle.go#L9115: 		host = req.URL.Host
		h2_bundle.go#L10737: 	http2encKV(enc, ":authority", w.url.Host)
		request.go#L619: 		host = r.URL.Host
		request.go#L920: 	u.Host = removeEmptyPort(u.Host)
		request.go#L930: 		Host:       u.Host,
		request.go#L1158: 	req.Host = req.URL.Host
		servemux121.go#L111: 		if u, ok := mux.redirectToPathSlash(r.URL.Host, r.URL.Path, r.URL); ok {
		server.go#L2306: 		if u.Scheme == "" && u.Host == "" {
		server.go#L2587: 	host := r.URL.Host
		transport.go#L580: 	if req.URL.Host == "" {

	crypto/x509
		parser.go#L398: 			if len(uri.Host) > 0 {
		parser.go#L399: 				if _, ok := domainToReverseLabels(uri.Host); !ok {
		verify.go#L425: 	host := uri.Host
		verify.go#L432: 		host, _, err = net.SplitHostPort(uri.Host)

	vendor/golang.org/x/net/http/httpproxy
		proxy.go#L153: 	if err != nil || proxyURL.Scheme == "" || proxyURL.Host == "" {