aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-07-25 18:03:26 +0200
committerLoïc Hoguin <[email protected]>2015-07-25 18:03:26 +0200
commit5394d0e08c657e85e1706e02fdbc63eff19a72c8 (patch)
tree52f6d078656fea48c66303103a6c9d0b7471e9f1
parent73cd4458c3caab9e723e85af9441002c08c986c2 (diff)
parent427eb3b622b5402eea9e34706022e2fb35d853c1 (diff)
downloadcowboy-5394d0e08c657e85e1706e02fdbc63eff19a72c8.tar.gz
cowboy-5394d0e08c657e85e1706e02fdbc63eff19a72c8.tar.bz2
cowboy-5394d0e08c657e85e1706e02fdbc63eff19a72c8.zip
Merge branch 'master' of https://github.com/jmccaughey/cowboy
-rw-r--r--src/cowboy_req.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_req.erl b/src/cowboy_req.erl
index 29eac3b..8726779 100644
--- a/src/cowboy_req.erl
+++ b/src/cowboy_req.erl
@@ -388,7 +388,7 @@ body(Req=#http_req{body_state=waiting}, Opts) ->
_ ->
ExpectHeader = parse_header(<<"expect">>, Req),
ok = case ExpectHeader of
- [<<"100-continue">>] -> continue(Req);
+ continue -> continue(Req);
_ -> ok
end
end,