MCPcopy Create free account
hub / github.com/SenseUnit/dumbproxy / delHopHeaders

Function delHopHeaders

handler/proxy.go:33–37  ·  view source on GitHub ↗
(header http.Header)

Source from the content-addressed store, hash-verified

31}
32
33func delHopHeaders(header http.Header) {
34 for _, h := range hopHeaders {
35 header.Del(h)
36 }
37}
38
39func hijack(hijackable any) (net.Conn, *bufio.ReadWriter, error) {
40 hj, ok := hijackable.(http.Hijacker)

Callers 2

HandleRequestMethod · 0.85
ServeHTTPMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected