MCPcopy Create free account
hub / github.com/aws/smithy-go / newHeaderValue

Function newHeaderValue

encoding/httpbinding/header.go:39–41  ·  view source on GitHub ↗
(header http.Header, key string, append bool)

Source from the content-addressed store, hash-verified

37}
38
39func newHeaderValue(header http.Header, key string, append bool) HeaderValue {
40 return HeaderValue{header: header, key: strings.TrimSpace(key), append: append}
41}
42
43func (h HeaderValue) modifyHeader(value string) {
44 if h.append {

Callers 4

TestHeaderValueFunction · 0.85
newHeaderValueMethod · 0.85
AddHeaderMethod · 0.85
SetHeaderMethod · 0.85

Calls

no outgoing calls

Tested by 1

TestHeaderValueFunction · 0.68