vendor/golang.org/x/net/http2/hpack.HeaderField.Value (field)

137 uses

	golang.org/x/net/http2
		frame.go#L1471: 			return hf.Value
		frame.go#L1556: 		if !httpguts.ValidHeaderFieldValue(hf.Value) {
		server.go#L2157: 			st.trailer[key] = append(st.trailer[key], hf.Value)
		server.go#L2257: 		header.Add(sc.canonicalHeader(hf.Name), hf.Value)
		transport.go#L1986: 			hf := hpack.HeaderField{Name: k, Value: v}
		transport.go#L2014: 	cc.henc.WriteField(hpack.HeaderField{Name: name, Value: value})
		transport.go#L2360: 			foreachHeaderElement(hf.Value, func(v string) {
		transport.go#L2371: 				vv[0] = hf.Value
		transport.go#L2374: 				header[key] = append(vv, hf.Value)
		transport.go#L2486: 		trailer[key] = append(trailer[key], hf.Value)
		write.go#L206: 	enc.WriteField(hpack.HeaderField{Name: k, Value: v})

	golang.org/x/net/http2/hpack
		encode.go#L163: 	return appendHpackString(dst, f.Value)
		encode.go#L183: 	return appendHpackString(dst, f.Value)
		hpack.go#L37: 	Name, Value string
		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#L386: 		hf.Value, err = d.decodeString(undecodedValue)
		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#L59: 	t.byNameValue[pairNameValue{f.Name, f.Value}] = id
		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 {

	golang.org/x/net/internal/httpcommon
		request.go#L234: 			hf := hpack.HeaderField{Name: name, Value: value}

	google.golang.org/grpc/internal/transport
		controlbuf.go#L841: 		{Name: ":status", Value: strconv.Itoa(int(eas.httpStatus))},
		controlbuf.go#L842: 		{Name: "content-type", Value: grpcutil.ContentType(eas.contentSubtype)},
		controlbuf.go#L843: 		{Name: "grpc-status", Value: strconv.Itoa(int(eas.status.Code()))},
		controlbuf.go#L844: 		{Name: "grpc-message", Value: encodeGrpcMessage(eas.status.Message())},
		http2_client.go#L560: 	headerFields = append(headerFields, hpack.HeaderField{Name: ":method", Value: "POST"})
		http2_client.go#L561: 	headerFields = append(headerFields, hpack.HeaderField{Name: ":scheme", Value: t.scheme})
		http2_client.go#L562: 	headerFields = append(headerFields, hpack.HeaderField{Name: ":path", Value: callHdr.Method})
		http2_client.go#L563: 	headerFields = append(headerFields, hpack.HeaderField{Name: ":authority", Value: callHdr.Host})
		http2_client.go#L564: 	headerFields = append(headerFields, hpack.HeaderField{Name: "content-type", Value: grpcutil.ContentType(callHdr.ContentSubtype)})
		http2_client.go#L565: 	headerFields = append(headerFields, hpack.HeaderField{Name: "user-agent", Value: t.userAgent})
		http2_client.go#L566: 	headerFields = append(headerFields, hpack.HeaderField{Name: "te", Value: "trailers"})
		http2_client.go#L568: 		headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-previous-rpc-attempts", Value: strconv.Itoa(callHdr.PreviousAttempts)})
		http2_client.go#L573: 		headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-encoding", Value: callHdr.SendCompress})
		http2_client.go#L586: 		headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-accept-encoding", Value: registeredCompressors})
		http2_client.go#L595: 		headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-timeout", Value: grpcutil.EncodeDuration(timeout)})
		http2_client.go#L598: 		headerFields = append(headerFields, hpack.HeaderField{Name: k, Value: encodeMetadataHeader(k, v)})
		http2_client.go#L601: 		headerFields = append(headerFields, hpack.HeaderField{Name: k, Value: encodeMetadataHeader(k, v)})
		http2_client.go#L612: 				headerFields = append(headerFields, hpack.HeaderField{Name: k, Value: encodeMetadataHeader(k, v)})
		http2_client.go#L625: 				headerFields = append(headerFields, hpack.HeaderField{Name: k, Value: encodeMetadataHeader(k, v)})
		http2_client.go#L634: 			headerFields = append(headerFields, hpack.HeaderField{Name: k, Value: encodeMetadataHeader(k, v)})
		http2_client.go#L1482: 			if _, validContentType := grpcutil.ContentSubtype(hf.Value); !validContentType {
		http2_client.go#L1483: 				contentTypeErr = fmt.Sprintf("transport: received unexpected content-type %q", hf.Value)
		http2_client.go#L1487: 			mdata[hf.Name] = append(mdata[hf.Name], hf.Value)
		http2_client.go#L1490: 			recvCompress = hf.Value
		http2_client.go#L1492: 			code, err := strconv.ParseInt(hf.Value, 10, 32)
		http2_client.go#L1500: 			grpcMessage = decodeGrpcMessage(hf.Value)
		http2_client.go#L1502: 			if hf.Value == "200" {
		http2_client.go#L1509: 			c, err := strconv.ParseInt(hf.Value, 10, 32)
		http2_client.go#L1527: 			v, err := decodeMetadataHeader(hf.Name, hf.Value)
		http2_client.go#L1530: 				logger.Warningf("Failed to decode metadata header (%q, %q): %v", hf.Name, hf.Value, err)
		http2_server.go#L420: 			contentSubtype, validContentType := grpcutil.ContentSubtype(hf.Value)
		http2_server.go#L422: 				contentType = hf.Value
		http2_server.go#L425: 			mdata[hf.Name] = append(mdata[hf.Name], hf.Value)
		http2_server.go#L430: 			mdata[hf.Name] = append(mdata[hf.Name], hf.Value)
		http2_server.go#L431: 			if hf.Value == "" {
		http2_server.go#L434: 			compressors := hf.Value
		http2_server.go#L440: 			s.recvCompress = hf.Value
		http2_server.go#L442: 			httpMethod = hf.Value
		http2_server.go#L444: 			s.method = hf.Value
		http2_server.go#L448: 			if timeout, err = decodeTimeout(hf.Value); err != nil {
		http2_server.go#L462: 			v, err := decodeMetadataHeader(hf.Name, hf.Value)
		http2_server.go#L464: 				headerError = status.Newf(codes.Internal, "malformed binary metadata %q in header %q: %v", hf.Value, hf.Name, err)
		http2_server.go#L465: 				t.logger.Warningf("Failed to decode metadata header (%q, %q): %v", hf.Name, hf.Value, err)
		http2_server.go#L976: 			headerFields = append(headerFields, hpack.HeaderField{Name: k, Value: encodeMetadataHeader(k, v)})
		http2_server.go#L1042: 	headerFields = append(headerFields, hpack.HeaderField{Name: ":status", Value: "200"})
		http2_server.go#L1043: 	headerFields = append(headerFields, hpack.HeaderField{Name: "content-type", Value: grpcutil.ContentType(s.contentSubtype)})
		http2_server.go#L1045: 		headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-encoding", Value: s.sendCompress})
		http2_server.go#L1095: 			headerFields = append(headerFields, hpack.HeaderField{Name: ":status", Value: "200"})
		http2_server.go#L1096: 			headerFields = append(headerFields, hpack.HeaderField{Name: "content-type", Value: grpcutil.ContentType(s.contentSubtype)})
		http2_server.go#L1099: 	headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-status", Value: strconv.Itoa(int(st.Code()))})
		http2_server.go#L1100: 	headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-message", Value: encodeGrpcMessage(st.Message())})
		http2_server.go#L1111: 			headerFields = append(headerFields, hpack.HeaderField{Name: grpcStatusDetailsBinHeader, Value: encodeBinHeader(stBytes)})