aboutsummaryrefslogtreecommitdiffstats
path: root/test/http_SUITE_data/http_body_qs.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/http_SUITE_data/http_body_qs.erl')
-rw-r--r--test/http_SUITE_data/http_body_qs.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/http_SUITE_data/http_body_qs.erl b/test/http_SUITE_data/http_body_qs.erl
index e0673cf..09ca5e4 100644
--- a/test/http_SUITE_data/http_body_qs.erl
+++ b/test/http_SUITE_data/http_body_qs.erl
@@ -10,7 +10,7 @@ init(Req, Opts) ->
{ok, maybe_echo(Method, HasBody, Req), Opts}.
maybe_echo(<<"POST">>, true, Req) ->
- case cowboy_req:body_qs(Req) of
+ case cowboy_req:read_urlencoded_body(Req) of
{badlength, Req2} ->
echo(badlength, Req2);
{ok, PostVals, Req2} ->