aboutsummaryrefslogtreecommitdiffstats
path: root/test/old_http_SUITE_data/rest_post_charset_resource.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/old_http_SUITE_data/rest_post_charset_resource.erl')
-rw-r--r--test/old_http_SUITE_data/rest_post_charset_resource.erl19
1 files changed, 0 insertions, 19 deletions
diff --git a/test/old_http_SUITE_data/rest_post_charset_resource.erl b/test/old_http_SUITE_data/rest_post_charset_resource.erl
deleted file mode 100644
index 0be6aa3..0000000
--- a/test/old_http_SUITE_data/rest_post_charset_resource.erl
+++ /dev/null
@@ -1,19 +0,0 @@
--module(rest_post_charset_resource).
-
--export([init/2]).
--export([allowed_methods/2]).
--export([content_types_accepted/2]).
--export([from_text/2]).
-
-init(Req, Opts) ->
- {cowboy_rest, Req, Opts}.
-
-allowed_methods(Req, State) ->
- {[<<"POST">>], Req, State}.
-
-content_types_accepted(Req, State) ->
- {[{{<<"text">>, <<"plain">>, [{<<"charset">>, <<"utf-8">>}]},
- from_text}], Req, State}.
-
-from_text(Req, State) ->
- {true, Req, State}.