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

137 uses

	golang.org/x/net/http2
		frame.go#L1457: 			return hf.Value
		frame.go#L1543: 		if !httpguts.ValidHeaderFieldValue(hf.Value) {
		server.go#L2072: 			st.trailer[key] = append(st.trailer[key], hf.Value)
		server.go#L2165: 		rp.header.Add(sc.canonicalHeader(hf.Name), hf.Value)
		transport.go#L1974: 		hf := hpack.HeaderField{Name: name, Value: value}
		transport.go#L2031: 			hf := hpack.HeaderField{Name: k, Value: v}
		transport.go#L2059: 	cc.henc.WriteField(hpack.HeaderField{Name: name, Value: value})
		transport.go#L2379: 			foreachHeaderElement(hf.Value, func(v string) {
		transport.go#L2390: 				vv[0] = hf.Value
		transport.go#L2393: 				header[key] = append(vv, hf.Value)
		transport.go#L2486: 		trailer[key] = append(trailer[key], hf.Value)
		write.go#L195: 	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 {

	google.golang.org/grpc/internal/transport
		controlbuf.go#L780: 		{Name: ":status", Value: strconv.Itoa(int(eas.httpStatus))},
		controlbuf.go#L781: 		{Name: "content-type", Value: grpcutil.ContentType(eas.contentSubtype)},
		controlbuf.go#L782: 		{Name: "grpc-status", Value: strconv.Itoa(int(eas.status.Code()))},
		controlbuf.go#L783: 		{Name: "grpc-message", Value: encodeGrpcMessage(eas.status.Message())},
		http2_client.go#L526: 	headerFields = append(headerFields, hpack.HeaderField{Name: ":method", Value: "POST"})
		http2_client.go#L527: 	headerFields = append(headerFields, hpack.HeaderField{Name: ":scheme", Value: t.scheme})
		http2_client.go#L528: 	headerFields = append(headerFields, hpack.HeaderField{Name: ":path", Value: callHdr.Method})
		http2_client.go#L529: 	headerFields = append(headerFields, hpack.HeaderField{Name: ":authority", Value: callHdr.Host})
		http2_client.go#L530: 	headerFields = append(headerFields, hpack.HeaderField{Name: "content-type", Value: grpcutil.ContentType(callHdr.ContentSubtype)})
		http2_client.go#L531: 	headerFields = append(headerFields, hpack.HeaderField{Name: "user-agent", Value: t.userAgent})
		http2_client.go#L532: 	headerFields = append(headerFields, hpack.HeaderField{Name: "te", Value: "trailers"})
		http2_client.go#L534: 		headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-previous-rpc-attempts", Value: strconv.Itoa(callHdr.PreviousAttempts)})
		http2_client.go#L539: 		headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-encoding", Value: callHdr.SendCompress})
		http2_client.go#L552: 		headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-accept-encoding", Value: registeredCompressors})
		http2_client.go#L558: 		headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-timeout", Value: grpcutil.EncodeDuration(timeout)})
		http2_client.go#L561: 		headerFields = append(headerFields, hpack.HeaderField{Name: k, Value: encodeMetadataHeader(k, v)})
		http2_client.go#L564: 		headerFields = append(headerFields, hpack.HeaderField{Name: k, Value: encodeMetadataHeader(k, v)})
		http2_client.go#L567: 		headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-tags-bin", Value: encodeBinHeader(b)})
		http2_client.go#L570: 		headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-trace-bin", Value: encodeBinHeader(b)})
		http2_client.go#L581: 				headerFields = append(headerFields, hpack.HeaderField{Name: k, Value: encodeMetadataHeader(k, v)})
		http2_client.go#L594: 				headerFields = append(headerFields, hpack.HeaderField{Name: k, Value: encodeMetadataHeader(k, v)})
		http2_client.go#L603: 			headerFields = append(headerFields, hpack.HeaderField{Name: k, Value: encodeMetadataHeader(k, v)})
		http2_client.go#L1420: 			if _, validContentType := grpcutil.ContentSubtype(hf.Value); !validContentType {
		http2_client.go#L1421: 				contentTypeErr = fmt.Sprintf("transport: received unexpected content-type %q", hf.Value)
		http2_client.go#L1425: 			mdata[hf.Name] = append(mdata[hf.Name], hf.Value)
		http2_client.go#L1428: 			recvCompress = hf.Value
		http2_client.go#L1430: 			code, err := strconv.ParseInt(hf.Value, 10, 32)
		http2_client.go#L1438: 			grpcMessage = decodeGrpcMessage(hf.Value)
		http2_client.go#L1441: 			statusGen, err = decodeGRPCStatusDetails(hf.Value)
		http2_client.go#L1446: 			if hf.Value == "200" {
		http2_client.go#L1453: 			c, err := strconv.ParseInt(hf.Value, 10, 32)
		http2_client.go#L1471: 			v, err := decodeMetadataHeader(hf.Name, hf.Value)
		http2_client.go#L1474: 				logger.Warningf("Failed to decode metadata header (%q, %q): %v", hf.Name, hf.Value, err)
		http2_server.go#L399: 			contentSubtype, validContentType := grpcutil.ContentSubtype(hf.Value)
		http2_server.go#L401: 				contentType = hf.Value
		http2_server.go#L404: 			mdata[hf.Name] = append(mdata[hf.Name], hf.Value)
		http2_server.go#L408: 			s.recvCompress = hf.Value
		http2_server.go#L410: 			httpMethod = hf.Value
		http2_server.go#L412: 			s.method = hf.Value
		http2_server.go#L416: 			if timeout, err = decodeTimeout(hf.Value); err != nil {
		http2_server.go#L430: 			v, err := decodeMetadataHeader(hf.Name, hf.Value)
		http2_server.go#L432: 				headerError = status.Newf(codes.Internal, "malformed binary metadata %q in header %q: %v", hf.Value, hf.Name, err)
		http2_server.go#L433: 				logger.Warningf("Failed to decode metadata header (%q, %q): %v", hf.Name, hf.Value, err)
		http2_server.go#L925: 			headerFields = append(headerFields, hpack.HeaderField{Name: k, Value: encodeMetadataHeader(k, v)})
		http2_server.go#L990: 	headerFields = append(headerFields, hpack.HeaderField{Name: ":status", Value: "200"})
		http2_server.go#L991: 	headerFields = append(headerFields, hpack.HeaderField{Name: "content-type", Value: grpcutil.ContentType(s.contentSubtype)})
		http2_server.go#L993: 		headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-encoding", Value: s.sendCompress})
		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#L1046: 	headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-status", Value: strconv.Itoa(int(st.Code()))})
		http2_server.go#L1047: 	headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-message", Value: encodeGrpcMessage(st.Message())})
		http2_server.go#L1055: 			headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-status-details-bin", Value: encodeBinHeader(stBytes)})