aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_req.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/cowboy_req.erl')
-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,