diff options
-rw-r--r-- | src/cowboy_protocol.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_protocol.erl b/src/cowboy_protocol.erl index 8763baa..00f8ba8 100644 --- a/src/cowboy_protocol.erl +++ b/src/cowboy_protocol.erl @@ -172,7 +172,7 @@ parse_method(<< C, Rest/bits >>, State, SoFar) -> parse_uri(<< $\r, _/bits >>, State, _) -> error_terminate(400, State); -parse_uri(<< $\s, _/bits >>, State, Method) -> +parse_uri(<< $\s, _/bits >>, State, _) -> error_terminate(400, State); parse_uri(<< "* ", Rest/bits >>, State, Method) -> parse_version(Rest, State, Method, <<"*">>, <<>>); |