Merge pull request #6879 from kpayson64/server_metadata_fix

Fixed bug with server initial metadata type translation
pull/6895/head
Jan Tattermusch 9 years ago committed by GitHub
commit 74823b99cf
  1. 2
      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))

Loading…
Cancel
Save