From 17c9d45786b23983fbecc05d27add12def3fa087 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 22 Dec 2011 21:48:24 +0100 Subject: Remove outdated @todo notes and update another --- src/cowboy_http_rest.erl | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/cowboy_http_rest.erl') 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' -> -- cgit v1.2.3