MCPcopy
hub / github.com/valyala/fasthttp / initHeaderValueString

Function initHeaderValueString

header.go:3403–3405  ·  view source on GitHub ↗
(bufV []byte, value string)

Source from the content-addressed store, hash-verified

3401}
3402
3403func initHeaderValueString(bufV []byte, value string) []byte {
3404 return initHeaderValueBytes(bufV, s2b(value))
3405}
3406
3407func initHeaderValueBytes(bufV, value []byte) []byte {
3408 // https://tools.ietf.org/html/rfc7230#section-3.2.4

Callers 13

SetContentTypeMethod · 0.85
SetContentEncodingMethod · 0.85
SetServerMethod · 0.85
SetHostMethod · 0.85
SetUserAgentMethod · 0.85
SetMethodMethod · 0.85
SetProtocolMethod · 0.85
SetRequestURIMethod · 0.85
SetCookieMethod · 0.85
initHeaderKVFunction · 0.85
SetDomainMethod · 0.85
SetValueMethod · 0.85

Calls 2

initHeaderValueBytesFunction · 0.85
s2bFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…