summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/bullet_handler.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bullet_handler.erl b/src/bullet_handler.erl
index 85b64a1..6c42c86 100644
--- a/src/bullet_handler.erl
+++ b/src/bullet_handler.erl
@@ -78,7 +78,7 @@ handle(Req, State) ->
handle(Req2, State, Method).
handle(Req, State=#state{handler=Handler, handler_state=HandlerState},
- 'POST') ->
+ <<"POST">>) ->
case cowboy_req:body(Req) of
{ok, Data, Req2} ->
case Handler:stream(Data, Req2, HandlerState) of