Skip to content

Commit

Permalink
don't specify content_type header
Browse files Browse the repository at this point in the history
It's not necessary, and it yields a warning message from the gRPC library
  • Loading branch information
matehat authored and cjab committed May 23, 2021
1 parent 22c5b76 commit 8d6da6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/weddell/client.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8d6da6e

Please sign in to comment.