net/http.Header.Clone (method)
13 uses
net/http (current package)
clone.go#L19: return url.Values(Header(v).Clone())
clone.go#L40: Value: (map[string][]string)(Header(f.Value).Clone()),
clone.go#L62: fh2.Header = textproto.MIMEHeader(Header(fh.Header).Clone())
clone.go#L69: clone := hdr.Clone()
h2_bundle.go#L6743: h = h.Clone()
header.go#L94: func (h Header) Clone() Header {
request.go#L386: r2.Header = r.Header.Clone()
request.go#L389: r2.Trailer = r.Trailer.Clone()
server.go#L1092: w.cw.header = w.handlerHeader.Clone()
server.go#L1183: w.cw.header = w.handlerHeader.Clone()
transport.go#L331: ProxyConnectHeader: t.ProxyConnectHeader.Clone(),
transport.go#L1687: hdr = hdr.Clone()
nhooyr.io/websocket
dial.go#L194: req.Header = opts.HTTPHeader.Clone()
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |