This commit is contained in:
Ery Lee 2015-01-18 16:34:01 +08:00
parent 9afa7c9787
commit 3ae463960f
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ handle('POST', "/mqtt/publish", Req) ->
retain = Retain,
topic = Topic,
payload = Message }),
Req:ok({"text/plan", <<"ok">>});
Req:ok({"text/plan", <<"ok\n">>});
{false, _} ->
Req:respond({400, [], <<"Bad QoS">>});
{_, false} ->