aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmccaughey <[email protected]>2015-05-29 15:07:22 -0700
committerjmccaughey <[email protected]>2015-05-29 15:07:22 -0700
commit427eb3b622b5402eea9e34706022e2fb35d853c1 (patch)
tree29afd20d227681cccd8ec2d1805682e4eee2bcfa
parent271869889587085494baaedc6b44e939252637f0 (diff)
downloadcowboy-427eb3b622b5402eea9e34706022e2fb35d853c1.tar.gz
cowboy-427eb3b622b5402eea9e34706022e2fb35d853c1.tar.bz2
cowboy-427eb3b622b5402eea9e34706022e2fb35d853c1.zip
expect header parses to an atom (continue)
-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,