aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_http_rest.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/cowboy_http_rest.erl')
-rw-r--r--src/cowboy_http_rest.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cowboy_http_rest.erl b/src/cowboy_http_rest.erl
index b37f20e..f58d0ee 100644
--- a/src/cowboy_http_rest.erl
+++ b/src/cowboy_http_rest.erl
@@ -28,16 +28,16 @@
%% Media type.
content_types_p = [] ::
- [{{binary(), binary(), [{binary(), binary()}]}, atom()}],
+ [{binary() | {binary(), binary(), [{binary(), binary()}]}, atom()}],
content_type_a :: undefined
- | {{binary(), binary(), [{binary(), binary()}]}, atom()},
+ | {binary() | {binary(), binary(), [{binary(), binary()}]}, atom()},
%% Language.
languages_p = [] :: [binary()],
language_a :: undefined | binary(),
%% Charset.
- charsets_p = [] :: [binary()],
+ charsets_p = [] :: [{binary(), atom()}],
charset_a :: undefined | binary(),
%% Cached resource calls.