aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_http_rest.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-12-22 21:48:24 +0100
committerLoïc Hoguin <[email protected]>2011-12-22 21:48:24 +0100
commit17c9d45786b23983fbecc05d27add12def3fa087 (patch)
treef6d905c3221d6cd98eb0025fd05eeb219438a041 /src/cowboy_http_rest.erl
parent72d91583b9c1de0e5a05da4de1218679b149921d (diff)
downloadcowboy-17c9d45786b23983fbecc05d27add12def3fa087.tar.gz
cowboy-17c9d45786b23983fbecc05d27add12def3fa087.tar.bz2
cowboy-17c9d45786b23983fbecc05d27add12def3fa087.zip
Remove outdated @todo notes and update another
Diffstat (limited to 'src/cowboy_http_rest.erl')
-rw-r--r--src/cowboy_http_rest.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cowboy_http_rest.erl b/src/cowboy_http_rest.erl
index 818ee05..60fd762 100644
--- a/src/cowboy_http_rest.erl
+++ b/src/cowboy_http_rest.erl
@@ -731,8 +731,6 @@ has_resp_body(Req, State) ->
%% Set the response headers and call the callback found using
%% content_types_provided/2 to obtain the request body and add
%% it to the response.
-%%
-%% @todo We should give the chosen language and charset to the callback.
set_resp_body(Req=#http_req{method=Method},
State=#state{content_type_a={_Type, Fun}})
when Method =:= 'GET'; Method =:= 'HEAD' ->