MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / cloneHTTPHeader

Function cloneHTTPHeader

sdk/cliproxy/auth/conductor.go:1661–1666  ·  view source on GitHub ↗
(headers http.Header)

Source from the content-addressed store, hash-verified

1659}
1660
1661func cloneHTTPHeader(headers http.Header) http.Header {
1662 if headers == nil {
1663 return nil
1664 }
1665 return headers.Clone()
1666}
1667
1668func newStreamBootstrapError(err error, headers http.Header) error {
1669 if err == nil {

Callers 4

schedulerOptionsFunction · 0.70
newStreamBootstrapErrorFunction · 0.70
HeadersMethod · 0.70
streamErrorResultFunction · 0.70

Calls 1

CloneMethod · 0.45

Tested by

no test coverage detected