diff --git a/api/handler/rpc/rpc.go b/api/handler/rpc/rpc.go index 8273b599..55e2ae3b 100644 --- a/api/handler/rpc/rpc.go +++ b/api/handler/rpc/rpc.go @@ -3,6 +3,7 @@ package rpc import ( "encoding/json" + "fmt" "io" "io/ioutil" "net/http" @@ -126,6 +127,8 @@ func (h *rpcHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { md[textproto.CanonicalMIMEHeaderKey(k)] = r.Header.Get(k) } + fmt.Printf("md: %v\n", md) + // merge context with overwrite cx = metadata.MergeContext(cx, md, true)