aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/static_handler_SUITE.erl4
1 files changed, 3 insertions, 1 deletions
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) ->