vendor/golang.org/x/net/http2/hpack.HeaderField.Name (field)
97 uses
vendor/golang.org/x/net/http2/hpack (current package)
encode.go#L157: 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#L367: hf.Name = ihf.Name
hpack.go#L369: hf.Name, buf, err = d.readString(buf, wantStr)
hpack.go#L388: if len(hf.Name) > d.maxStrLen || len(hf.Value) > d.maxStrLen {
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#L105: if id := t.byNameValue[pairNameValue{f.Name, f.Value}]; id != 0 {
tables.go#L109: if id := t.byName[f.Name]; id != 0 {
tables.go#L131: {Name: ":authority"},
tables.go#L132: {Name: ":method", Value: "GET"},
tables.go#L133: {Name: ":method", Value: "POST"},
tables.go#L134: {Name: ":path", Value: "/"},
tables.go#L135: {Name: ":path", Value: "/index.html"},
tables.go#L136: {Name: ":scheme", Value: "http"},
tables.go#L137: {Name: ":scheme", Value: "https"},
tables.go#L138: {Name: ":status", Value: "200"},
tables.go#L139: {Name: ":status", Value: "204"},
tables.go#L140: {Name: ":status", Value: "206"},
tables.go#L141: {Name: ":status", Value: "304"},
tables.go#L142: {Name: ":status", Value: "400"},
tables.go#L143: {Name: ":status", Value: "404"},
tables.go#L144: {Name: ":status", Value: "500"},
tables.go#L145: {Name: "accept-charset"},
tables.go#L146: {Name: "accept-encoding", Value: "gzip, deflate"},
tables.go#L147: {Name: "accept-language"},
tables.go#L148: {Name: "accept-ranges"},
tables.go#L149: {Name: "accept"},
tables.go#L150: {Name: "access-control-allow-origin"},
tables.go#L151: {Name: "age"},
tables.go#L152: {Name: "allow"},
tables.go#L153: {Name: "authorization"},
tables.go#L154: {Name: "cache-control"},
tables.go#L155: {Name: "content-disposition"},
tables.go#L156: {Name: "content-encoding"},
tables.go#L157: {Name: "content-language"},
tables.go#L158: {Name: "content-length"},
tables.go#L159: {Name: "content-location"},
tables.go#L160: {Name: "content-range"},
tables.go#L161: {Name: "content-type"},
tables.go#L162: {Name: "cookie"},
tables.go#L163: {Name: "date"},
tables.go#L164: {Name: "etag"},
tables.go#L165: {Name: "expect"},
tables.go#L166: {Name: "expires"},
tables.go#L167: {Name: "from"},
tables.go#L168: {Name: "host"},
tables.go#L169: {Name: "if-match"},
tables.go#L170: {Name: "if-modified-since"},
tables.go#L171: {Name: "if-none-match"},
tables.go#L172: {Name: "if-range"},
tables.go#L173: {Name: "if-unmodified-since"},
tables.go#L174: {Name: "last-modified"},
tables.go#L175: {Name: "link"},
tables.go#L176: {Name: "location"},
tables.go#L177: {Name: "max-forwards"},
tables.go#L178: {Name: "proxy-authenticate"},
tables.go#L179: {Name: "proxy-authorization"},
tables.go#L180: {Name: "range"},
tables.go#L181: {Name: "referer"},
tables.go#L182: {Name: "refresh"},
tables.go#L183: {Name: "retry-after"},
tables.go#L184: {Name: "server"},
tables.go#L185: {Name: "set-cookie"},
tables.go#L186: {Name: "strict-transport-security"},
tables.go#L187: {Name: "transfer-encoding"},
tables.go#L188: {Name: "user-agent"},
tables.go#L189: {Name: "vary"},
tables.go#L190: {Name: "via"},
tables.go#L191: {Name: "www-authenticate"},
net/http
h2_bundle.go#L2656: if hf.Name[1:] == pseudo {
h2_bundle.go#L2689: switch hf.Name {
h2_bundle.go#L2695: return http2pseudoHeaderError(hf.Name)
h2_bundle.go#L2701: if hf.Name == hf2.Name {
h2_bundle.go#L2702: return http2duplicatePseudoHeaderError(hf.Name)
h2_bundle.go#L2746: isPseudo := strings.HasPrefix(hf.Name, ":")
h2_bundle.go#L2753: if !http2validWireHeaderFieldName(hf.Name) {
h2_bundle.go#L2754: invalid = http2headerFieldNameError(hf.Name)
h2_bundle.go#L5473: key := sc.canonicalHeader(hf.Name)
h2_bundle.go#L5583: rp.header.Add(sc.canonicalHeader(hf.Name), hf.Value)
h2_bundle.go#L8108: hf := hpack.HeaderField{Name: name, Value: value}
h2_bundle.go#L8160: hf := hpack.HeaderField{Name: k, Value: v}
h2_bundle.go#L8183: cc.henc.WriteField(hpack.HeaderField{Name: name, Value: value})
h2_bundle.go#L8485: key := CanonicalHeaderKey(hf.Name)
h2_bundle.go#L8588: key := CanonicalHeaderKey(hf.Name)
h2_bundle.go#L9445: enc.WriteField(hpack.HeaderField{Name: k, Value: v})