Commit 36328bd1 authored by Heinz N. Gies's avatar Heinz N. Gies

Fix usage of atoms in msgpack

parent 395453e2
......@@ -72,7 +72,7 @@ send(msgpack, D, Req, State) ->
{ok, Req1} =
cowboy_req:reply(
200, [{<<"content-type">>, <<"application/x-msgpack">>}],
msgpack:pack(D, [jsx]), Req),
msgpack:pack(D, [jsx, {allow_atom, pack}]), Req),
{ok, Req1, State};
send(_, _D, Req, State) ->
{ok, Req1} = cowboy_req:reply(415, Req),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment