diff options
author | Ken Payson <kpayson@google.com> | 2016-06-13 09:19:46 -0700 |
---|---|---|
committer | Ken Payson <kpayson@google.com> | 2016-06-13 09:19:46 -0700 |
commit | 6b943e55fa4dc383f731bc8d30eb2c6116265771 (patch) | |
tree | 2f8e648bc6536a77f87f47d51d1d0318da14e796 /src/python/grpcio | |
parent | 68e5ecbee4882a74b16a6e22d935d68798016804 (diff) |
Fixed bug with server initial metadata type translation
Diffstat (limited to 'src/python/grpcio')
-rw-r--r-- | src/python/grpcio/grpc/_server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/grpcio/grpc/_server.py b/src/python/grpcio/grpc/_server.py index f4f6720497..2f99e5b412 100644 --- a/src/python/grpcio/grpc/_server.py +++ b/src/python/grpcio/grpc/_server.py @@ -254,7 +254,7 @@ class _Context(grpc.ServicerContext): else: if self._state.initial_metadata_allowed: operation = cygrpc.operation_send_initial_metadata( - cygrpc.Metadata(initial_metadata), _EMPTY_FLAGS) + _common.metadata(initial_metadata), _EMPTY_FLAGS) self._rpc_event.operation_call.start_batch( cygrpc.Operations((operation,)), _send_initial_metadata(self._state)) |