aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/codegen/core
diff options
context:
space:
mode:
Diffstat (limited to 'tools/codegen/core')
-rwxr-xr-xtools/codegen/core/gen_static_metadata.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/codegen/core/gen_static_metadata.py b/tools/codegen/core/gen_static_metadata.py
index 0e84a73ea5..d52e329023 100755
--- a/tools/codegen/core/gen_static_metadata.py
+++ b/tools/codegen/core/gen_static_metadata.py
@@ -41,6 +41,7 @@ import sys
CONFIG = [
'grpc-timeout',
+ 'grpc-internal-encoding-request',
':path',
'grpc-encoding',
'grpc-accept-encoding',
@@ -54,7 +55,13 @@ CONFIG = [
'identity',
'',
('grpc-status', '0'),
+ ('grpc-status', '1'),
+ ('grpc-status', '2'),
+ ('grpc-encoding', 'identity'),
+ ('grpc-encoding', 'gzip'),
+ ('grpc-encoding', 'deflate'),
('te', 'trailers'),
+ ('content-type', 'application/grpc'),
(':method', 'POST'),
(':status', '200'),
(':status', '404'),