net/http.Response.Header (field)

30 uses

	net/http (current package)
		client.go#L639: 			loc := resp.Header.Get("Location")
		filetransport.go#L57: 			Header:     make(Header),
		filetransport.go#L101: 	return pr.res.Header
		h2_bundle.go#L9482: 		Header:     header,
		h2_bundle.go#L9539: 	if clens := res.Header["Content-Length"]; len(clens) == 1 {
		h2_bundle.go#L9571: 	if cs.requestedGzip && http2asciiEqualFold(res.Header.Get("Content-Encoding"), "gzip") {
		h2_bundle.go#L9572: 		res.Header.Del("Content-Encoding")
		h2_bundle.go#L9573: 		res.Header.Del("Content-Length")
		response.go#L51: 	Header Header
		response.go#L126: 	return readSetCookies(r.Header)
		response.go#L138: 	lv := r.Header.Get("Location")
		response.go#L195: 	resp.Header = Header(mimeHeader)
		response.go#L197: 	fixPragmaCacheControl(resp.Header)
		response.go#L307: 	err = r.Header.WriteSubset(w, respExcludeHeader)
		response.go#L357: 	return isProtocolSwitchResponse(r.StatusCode, r.Header)
		transfer.go#L119: 		t.Header = rr.Header
		transfer.go#L493: 		t.Header = rr.Header
		transport.go#L2221: 		if rc.addedGzip && ascii.EqualFold(resp.Header.Get("Content-Encoding"), "gzip") {
		transport.go#L2223: 			resp.Header.Del("Content-Encoding")
		transport.go#L2224: 			resp.Header.Del("Content-Length")
		transport.go#L2338: 				if err := trace.Got1xxResponse(resCode, textproto.MIMEHeader(resp.Header)); err != nil {

	nhooyr.io/websocket
		dial.go#L161: 		subprotocol:    resp.Header.Get("Sec-WebSocket-Protocol"),
		dial.go#L230: 	if !headerContainsTokenIgnoreCase(resp.Header, "Connection", "Upgrade") {
		dial.go#L231: 		return nil, fmt.Errorf("WebSocket protocol violation: Connection header %q does not contain Upgrade", resp.Header.Get("Connection"))
		dial.go#L234: 	if !headerContainsTokenIgnoreCase(resp.Header, "Upgrade", "WebSocket") {
		dial.go#L235: 		return nil, fmt.Errorf("WebSocket protocol violation: Upgrade header %q does not contain websocket", resp.Header.Get("Upgrade"))
		dial.go#L238: 	if resp.Header.Get("Sec-WebSocket-Accept") != secWebSocketAccept(secWebSocketKey) {
		dial.go#L240: 			resp.Header.Get("Sec-WebSocket-Accept"),
		dial.go#L250: 	return verifyServerExtensions(copts, resp.Header)
		dial.go#L254: 	proto := resp.Header.Get("Sec-WebSocket-Protocol")