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

Struct HeaderValue

encoding/httpbinding/header.go:33–37  ·  view source on GitHub ↗

HeaderValue is used to encode values to an HTTP header

Source from the content-addressed store, hash-verified

31
32// HeaderValue is used to encode values to an HTTP header
33type HeaderValue struct {
34 header http.Header
35 key string
36 append bool
37}
38
39func newHeaderValue(header http.Header, key string, append bool) HeaderValue {
40 return HeaderValue{header: header, key: strings.TrimSpace(key), append: append}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected