MCPcopy Index your code
hub / github.com/SenseUnit/dumbproxy / copyHeader

Function copyHeader

handler/proxy.go:25–31  ·  view source on GitHub ↗
(dst, src http.Header)

Source from the content-addressed store, hash-verified

23}
24
25func copyHeader(dst, src http.Header) {
26 for k, vv := range src {
27 for _, v := range vv {
28 dst.Add(k, v)
29 }
30 }
31}
32
33func delHopHeaders(header http.Header) {
34 for _, h := range hopHeaders {

Callers 1

HandleRequestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected