From ad9ab51648d16181960f4a4eeb27ea6948d35739 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 31 Oct 2017 17:15:11 +0000 Subject: Add some todos --- test/static_handler_SUITE.erl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/static_handler_SUITE.erl') diff --git a/test/static_handler_SUITE.erl b/test/static_handler_SUITE.erl index 726d035..e4e0ef1 100644 --- a/test/static_handler_SUITE.erl +++ b/test/static_handler_SUITE.erl @@ -354,7 +354,9 @@ dir_error_directory_slash(Config) -> dir_error_doesnt_exist(Config) -> doc("Try to get a file that does not exist."), - {404, _, _} = do_get(config(prefix, Config) ++ "/not.found", Config), + %% @todo Check that the content-type header is removed. + {404, _Headers, _} = do_get(config(prefix, Config) ++ "/not.found", Config), +% false = lists:keyfind(<<"content-type">>, 1, Headers), ok. dir_error_dot(Config) -> -- cgit v1.2.3