aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-10-31 17:15:11 +0000
committerLoïc Hoguin <[email protected]>2017-10-31 17:15:11 +0000
commitad9ab51648d16181960f4a4eeb27ea6948d35739 (patch)
tree97b4e0afc94ff6d26e6051fb00893e61e05f24bb /test
parent4e85ad76a0ce2584175d4aabbd3e9900bd405056 (diff)
downloadcowboy-ad9ab51648d16181960f4a4eeb27ea6948d35739.tar.gz
cowboy-ad9ab51648d16181960f4a4eeb27ea6948d35739.tar.bz2
cowboy-ad9ab51648d16181960f4a4eeb27ea6948d35739.zip
Add some todos
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) ->