aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/codegen/core
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-11-19 17:09:49 -0800
committerGravatar Craig Tiller <ctiller@google.com>2015-11-19 17:09:49 -0800
commitebdef9d674b33e7bd117e2a4a2da7762c35bbdfc (patch)
tree4ae8484d1f35f667bef4e55c36560527cc7cbb91 /tools/codegen/core
parentf6e40fd2aaf50e075a6c91eab33acc9f72bf9ab0 (diff)
Remove metadata context from the channel stack
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'),