vendor/golang.org/x/net/http2/hpack.HeaderField.Name (field)
98 uses
vendor/golang.org/x/net/http2/hpack (current package)
encode.go#L162: dst = appendHpackString(dst, f.Name)
hpack.go#L37: Name, Value string
hpack.go#L49: return len(hf.Name) != 0 && hf.Name[0] == ':'
hpack.go#L57: return fmt.Sprintf("header field %q = %q%s", hf.Name, hf.Value, suffix)
hpack.go#L74: return uint32(len(hf.Name) + len(hf.Value) + 32)
hpack.go#L349: return d.callEmit(HeaderField{Name: hf.Name, Value: hf.Value})
hpack.go#L368: hf.Name = ihf.Name
hpack.go#L381: hf.Name, err = d.decodeString(undecodedName)
hpack.go#L401: if len(hf.Name) > d.maxStrLen || len(hf.Value) > d.maxStrLen {
static_table.go#L126: {Name: ":authority", Value: "", Sensitive: false},
static_table.go#L127: {Name: ":method", Value: "GET", Sensitive: false},
static_table.go#L128: {Name: ":method", Value: "POST", Sensitive: false},
static_table.go#L129: {Name: ":path", Value: "/", Sensitive: false},
static_table.go#L130: {Name: ":path", Value: "/index.html", Sensitive: false},
static_table.go#L131: {Name: ":scheme", Value: "http", Sensitive: false},
static_table.go#L132: {Name: ":scheme", Value: "https", Sensitive: false},
static_table.go#L133: {Name: ":status", Value: "200", Sensitive: false},
static_table.go#L134: {Name: ":status", Value: "204", Sensitive: false},
static_table.go#L135: {Name: ":status", Value: "206", Sensitive: false},
static_table.go#L136: {Name: ":status", Value: "304", Sensitive: false},
static_table.go#L137: {Name: ":status", Value: "400", Sensitive: false},
static_table.go#L138: {Name: ":status", Value: "404", Sensitive: false},
static_table.go#L139: {Name: ":status", Value: "500", Sensitive: false},
static_table.go#L140: {Name: "accept-charset", Value: "", Sensitive: false},
static_table.go#L141: {Name: "accept-encoding", Value: "gzip, deflate", Sensitive: false},
static_table.go#L142: {Name: "accept-language", Value: "", Sensitive: false},
static_table.go#L143: {Name: "accept-ranges", Value: "", Sensitive: false},
static_table.go#L144: {Name: "accept", Value: "", Sensitive: false},
static_table.go#L145: {Name: "access-control-allow-origin", Value: "", Sensitive: false},
static_table.go#L146: {Name: "age", Value: "", Sensitive: false},
static_table.go#L147: {Name: "allow", Value: "", Sensitive: false},
static_table.go#L148: {Name: "authorization", Value: "", Sensitive: false},
static_table.go#L149: {Name: "cache-control", Value: "", Sensitive: false},
static_table.go#L150: {Name: "content-disposition", Value: "", Sensitive: false},
static_table.go#L151: {Name: "content-encoding", Value: "", Sensitive: false},
static_table.go#L152: {Name: "content-language", Value: "", Sensitive: false},
static_table.go#L153: {Name: "content-length", Value: "", Sensitive: false},
static_table.go#L154: {Name: "content-location", Value: "", Sensitive: false},
static_table.go#L155: {Name: "content-range", Value: "", Sensitive: false},
static_table.go#L156: {Name: "content-type", Value: "", Sensitive: false},
static_table.go#L157: {Name: "cookie", Value: "", Sensitive: false},
static_table.go#L158: {Name: "date", Value: "", Sensitive: false},
static_table.go#L159: {Name: "etag", Value: "", Sensitive: false},
static_table.go#L160: {Name: "expect", Value: "", Sensitive: false},
static_table.go#L161: {Name: "expires", Value: "", Sensitive: false},
static_table.go#L162: {Name: "from", Value: "", Sensitive: false},
static_table.go#L163: {Name: "host", Value: "", Sensitive: false},
static_table.go#L164: {Name: "if-match", Value: "", Sensitive: false},
static_table.go#L165: {Name: "if-modified-since", Value: "", Sensitive: false},
static_table.go#L166: {Name: "if-none-match", Value: "", Sensitive: false},
static_table.go#L167: {Name: "if-range", Value: "", Sensitive: false},
static_table.go#L168: {Name: "if-unmodified-since", Value: "", Sensitive: false},
static_table.go#L169: {Name: "last-modified", Value: "", Sensitive: false},
static_table.go#L170: {Name: "link", Value: "", Sensitive: false},
static_table.go#L171: {Name: "location", Value: "", Sensitive: false},
static_table.go#L172: {Name: "max-forwards", Value: "", Sensitive: false},
static_table.go#L173: {Name: "proxy-authenticate", Value: "", Sensitive: false},
static_table.go#L174: {Name: "proxy-authorization", Value: "", Sensitive: false},
static_table.go#L175: {Name: "range", Value: "", Sensitive: false},
static_table.go#L176: {Name: "referer", Value: "", Sensitive: false},
static_table.go#L177: {Name: "refresh", Value: "", Sensitive: false},
static_table.go#L178: {Name: "retry-after", Value: "", Sensitive: false},
static_table.go#L179: {Name: "server", Value: "", Sensitive: false},
static_table.go#L180: {Name: "set-cookie", Value: "", Sensitive: false},
static_table.go#L181: {Name: "strict-transport-security", Value: "", Sensitive: false},
static_table.go#L182: {Name: "transfer-encoding", Value: "", Sensitive: false},
static_table.go#L183: {Name: "user-agent", Value: "", Sensitive: false},
static_table.go#L184: {Name: "vary", Value: "", Sensitive: false},
static_table.go#L185: {Name: "via", Value: "", Sensitive: false},
static_table.go#L186: {Name: "www-authenticate", Value: "", Sensitive: false},
tables.go#L58: t.byName[f.Name] = id
tables.go#L59: t.byNameValue[pairNameValue{f.Name, f.Value}] = id
tables.go#L71: if t.byName[f.Name] == id {
tables.go#L72: delete(t.byName, f.Name)
tables.go#L74: if p := (pairNameValue{f.Name, f.Value}); t.byNameValue[p] == id {
tables.go#L104: if id := t.byNameValue[pairNameValue{f.Name, f.Value}]; id != 0 {
tables.go#L108: if id := t.byName[f.Name]; id != 0 {
net/http
h2_bundle.go#L2857: if hf.Name[1:] == pseudo {
h2_bundle.go#L2890: switch hf.Name {
h2_bundle.go#L2896: return http2pseudoHeaderError(hf.Name)
h2_bundle.go#L2902: if hf.Name == hf2.Name {
h2_bundle.go#L2903: return http2duplicatePseudoHeaderError(hf.Name)
h2_bundle.go#L2946: invalid = http2headerFieldValueError(hf.Name)
h2_bundle.go#L2948: isPseudo := strings.HasPrefix(hf.Name, ":")
h2_bundle.go#L2955: if !http2validWireHeaderFieldName(hf.Name) {
h2_bundle.go#L2956: invalid = http2headerFieldNameError(hf.Name)
h2_bundle.go#L5893: key := sc.canonicalHeader(hf.Name)
h2_bundle.go#L5993: rp.header.Add(sc.canonicalHeader(hf.Name), hf.Value)
h2_bundle.go#L9089: hf := hpack.HeaderField{Name: name, Value: value}
h2_bundle.go#L9146: hf := hpack.HeaderField{Name: k, Value: v}
h2_bundle.go#L9174: cc.henc.WriteField(hpack.HeaderField{Name: name, Value: value})
h2_bundle.go#L9487: key := http2canonicalHeader(hf.Name)
h2_bundle.go#L9600: key := http2canonicalHeader(hf.Name)
h2_bundle.go#L10451: enc.WriteField(hpack.HeaderField{Name: k, Value: v})
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |