From cfd3395e9bdf6ed55833470b7712379efbec3846 Mon Sep 17 00:00:00 2001 From: Ian Rodney Date: Tue, 10 Jan 2023 16:42:29 -0800 Subject: [PATCH] explain that keys must be lower cased (#31586) --- examples/python/auth/customized_auth_client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/python/auth/customized_auth_client.py b/examples/python/auth/customized_auth_client.py index c1310836b463f..2f2f59a123212 100644 --- a/examples/python/auth/customized_auth_client.py +++ b/examples/python/auth/customized_auth_client.py @@ -48,6 +48,7 @@ def __call__(self, context, callback): # service_url=u'https://localhost:50051/helloworld.Greeter', # method_name=u'SayHello') signature = context.method_name[::-1] + # NOTE: The metadata keys provided to the callback must be lower-cased. callback(((_SIGNATURE_HEADER_KEY, signature),), None)