Metadata from Go Client to Python Server

57 views
Skip to first unread message

onerog...@gmail.com

unread,
Jan 9, 2017, 9:52:52 PM1/9/17
to grpc.io

I have a Go client and a Python server and I am unable to find metadata in the context on the server side

Client:
md := metadata.Pairs("foo", "val")
ctx := metadata.NewContext(context.Background(), md)
        client.MyCall(ctx, &message)

Server:
       context.invocation_metadata()   # all I get from this is (('user-agent', 'grpc-go/1.0'),)


Is there a way to do this?
Message has been deleted

Nathaniel Manista

unread,
Jan 10, 2017, 5:18:20 PM1/10/17
to onerog...@gmail.com, grpc.io
There's got to be a way - let's continue the conversation and find out the answer in this issue.

Speaking for gRPC Python, I believe you're doing the right thing in your server code.
-Nathaniel
Reply all
Reply to author
Forward
0 new messages