{:ok, %Maxwell.Conn{method: :post, opts: [], path: "/comet", query_string: %{},
req_body: nil,
req_headers: %{"Content-Type" => "application/json",
"authorization" => "Bearer J9O6qCHqNU0jADFWoHtmTroLsBYQEmCG3FWd-B09YAqWjQQV",
"content-type" => "application/json"}, resp_body: "Bad request",
resp_headers: %{"connection" => "keep-alive", "content-type" => "text/plain; charset=utf-8", "date" => "Sun, 05 Mar 2017 13:55:05 GMT",
"server" => "nginx/1.10.1", "transfer-encoding" => "chunked"},
state: :sent,
status: 400, url: "http://test.com:8030"}}
There should not be a "content-type" => "application/json because that's my Maxwell.Middleware.Headers's params
middleware Maxwell.Middleware.Headers, %{
"Content-Type" => "application/json"
}
There should not be a
"content-type" => "application/jsonbecause that's myMaxwell.Middleware.Headers's params