Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
25
func
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
33
func
delHopHeaders(header http.Header) {
34
for
_, h :=
range
hopHeaders {
Callers
1
HandleRequest
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected