diff options
Diffstat (limited to 'test/http_SUITE_data/http_body_qs.erl')
-rw-r--r-- | test/http_SUITE_data/http_body_qs.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/http_SUITE_data/http_body_qs.erl b/test/http_SUITE_data/http_body_qs.erl index f1b974d..8a438e6 100644 --- a/test/http_SUITE_data/http_body_qs.erl +++ b/test/http_SUITE_data/http_body_qs.erl @@ -15,8 +15,8 @@ handle(Req, State) -> maybe_echo(<<"POST">>, true, Req) -> case cowboy_req:body_qs(Req) of - {error,badlength} -> - echo(badlength, Req); + {badlength, Req2} -> + echo(badlength, Req2); {ok, PostVals, Req2} -> echo(proplists:get_value(<<"echo">>, PostVals), Req2) end; |