diff options
Diffstat (limited to 'test/http_handler_multipart.erl')
-rw-r--r-- | test/http_handler_multipart.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/http_handler_multipart.erl b/test/http_handler_multipart.erl index f5f7919..ad5d27e 100644 --- a/test/http_handler_multipart.erl +++ b/test/http_handler_multipart.erl @@ -9,14 +9,14 @@ init({_Transport, http}, Req, []) -> handle(Req, State) -> {Result, Req2} = acc_multipart(Req, []), - {ok, Req3} = cowboy_http_req:reply(200, [], term_to_binary(Result), Req2), + {ok, Req3} = cowboy_req:reply(200, [], term_to_binary(Result), Req2), {ok, Req3, State}. terminate(_Req, _State) -> ok. acc_multipart(Req, Acc) -> - {Result, Req2} = cowboy_http_req:multipart_data(Req), + {Result, Req2} = cowboy_req:multipart_data(Req), acc_multipart(Req2, Acc, Result). acc_multipart(Req, Acc, {headers, Headers}) -> |