From 8d6da6ec1cbd191139e95a337df02af9a74fee89 Mon Sep 17 00:00:00 2001 From: Mathieu D'Amours Date: Fri, 21 May 2021 06:38:57 -0400 Subject: [PATCH] don't specify content_type header It's not necessary, and it yields a warning message from the gRPC library --- lib/weddell/client.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/weddell/client.ex b/lib/weddell/client.ex index 311ea41..e00edce 100644 --- a/lib/weddell/client.ex +++ b/lib/weddell/client.ex @@ -252,7 +252,7 @@ defmodule Weddell.Client do @doc false @spec request_opts() :: Keyword.t() def request_opts(extra_opts \\ []) do - [metadata: auth_header(), content_type: "application/grpc"] + [metadata: auth_header()] |> Enum.concat(extra_opts) end