diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cowboy.app.src | 30 | ||||
-rw-r--r-- | src/cowboy_req.erl | 2 |
2 files changed, 1 insertions, 31 deletions
diff --git a/src/cowboy.app.src b/src/cowboy.app.src deleted file mode 100644 index 0ca4a73..0000000 --- a/src/cowboy.app.src +++ /dev/null @@ -1,30 +0,0 @@ -%% Copyright (c) 2011-2014, Loïc Hoguin <[email protected]> -%% -%% Permission to use, copy, modify, and/or distribute this software for any -%% purpose with or without fee is hereby granted, provided that the above -%% copyright notice and this permission notice appear in all copies. -%% -%% THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -%% WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -%% MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -%% ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -%% WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -%% ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -%% OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -{application, cowboy, [ - {description, "Small, fast, modular HTTP server."}, - {vsn, "2.0.0-pre.1"}, - {id, "git"}, - {modules, []}, - {registered, [cowboy_clock, cowboy_sup]}, - {applications, [ - kernel, - stdlib, - ranch, - cowlib, - crypto - ]}, - {mod, {cowboy_app, []}}, - {env, []} -]}. 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, |