diff options
author | Loïc Hoguin <[email protected]> | 2012-08-27 13:28:57 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2012-08-27 13:28:57 +0200 |
commit | d3dcaf109b225b1384fad5b17dbae9c4888c40ea (patch) | |
tree | 171cabef2c5aec776631d7a5d14ab687c563e38b /test/http_handler_multipart.erl | |
parent | 9e2622becb4d1a37d410f484a14ef32101e560ab (diff) | |
download | cowboy-d3dcaf109b225b1384fad5b17dbae9c4888c40ea.tar.gz cowboy-d3dcaf109b225b1384fad5b17dbae9c4888c40ea.tar.bz2 cowboy-d3dcaf109b225b1384fad5b17dbae9c4888c40ea.zip |
Rename cowboy_http_req to cowboy_req
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}) -> |