MCPcopy Index your code
hub / github.com/zalando/skipper / copyHeader

Function copyHeader

proxy/proxy.go:538–542  ·  view source on GitHub ↗
(to, from http.Header)

Source from the content-addressed store, hash-verified

536}
537
538func copyHeader(to, from http.Header) {
539 for k, v := range from {
540 to[http.CanonicalHeaderKey(k)] = v
541 }
542}
543
544func copyHeaderExcluding(to, from http.Header, excludeHeaders map[string]bool) {
545 for k, v := range from {

Callers 4

cloneHeaderFunction · 0.70
serveResponseMethod · 0.70
errorResponseMethod · 0.70
makeErrorResponseMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…