0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00

Add some todos

This commit is contained in:
Loïc Hoguin 2017-10-31 17:15:11 +00:00
parent 4e85ad76a0
commit ad9ab51648
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764
4 changed files with 6 additions and 1 deletions

View file

@ -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) ->