diff options
Diffstat (limited to 'examples/rest_pastebin')
-rw-r--r-- | examples/rest_pastebin/src/toppage_h.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rest_pastebin/src/toppage_h.erl b/examples/rest_pastebin/src/toppage_h.erl index 712a875..5b130de 100644 --- a/examples/rest_pastebin/src/toppage_h.erl +++ b/examples/rest_pastebin/src/toppage_h.erl @@ -28,7 +28,7 @@ content_types_provided(Req, State) -> ], Req, State}. content_types_accepted(Req, State) -> - {[{{<<"application">>, <<"x-www-form-urlencoded">>, []}, create_paste}], + {[{{<<"application">>, <<"x-www-form-urlencoded">>, '*'}, create_paste}], Req, State}. resource_exists(Req, _State) -> |