blob: 73ad546b6f876819d9c34521e33c16c6a50a5b18 [file] [log] [blame]
use strict;
use warnings FATAL => 'all';
use Apache::Test;
use Apache::TestUtil;
use Apache::TestRequest qw(GET);
plan tests => 2, need [qw(mod_alias.c HTML::HeadParser mod_dir.c)],
need_min_module_version CGI => 3.08;
{
my $url = "/dirindex/";
my $res = GET $url;
ok t_cmp($res->header('Content-type'),
qr{^text/html},
"DirectoryIndex + AddHandler - Content-type");
ok t_cmp(lc($res->content),
'<b>done</b>',
"DirectoryIndex + AddHandler - body");
}