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

Method modifyHeader

encoding/httpbinding/header.go:43–49  ·  view source on GitHub ↗
(value string)

Source from the content-addressed store, hash-verified

41}
42
43func (h HeaderValue) modifyHeader(value string) {
44 if h.append {
45 h.header[h.key] = append(h.header[h.key], value)
46 } else {
47 h.header[h.key] = append(h.header[h.key][:0], value)
48 }
49}
50
51// String encodes the value v as the header string value
52func (h HeaderValue) String(v string) {

Callers 7

StringMethod · 0.95
LongMethod · 0.95
BooleanMethod · 0.95
floatMethod · 0.95
BigIntegerMethod · 0.95
BigDecimalMethod · 0.95
BlobMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected