8
###############################################################################
13
<title>Main Page</title>
23
# code, msg, headers, content
29
"Content-type" => "text/html",
30
"Content-Disposition" => "attachment; filename=\"filename.html\"",
36
my $cmdline = $WgetTest::WGETPATH . " --spider http://localhost:8080/index.html";
38
my $expected_error_code = 256;
40
my %expected_downloaded_files = (
43
###############################################################################
45
my $the_test = HTTPTest->new (name => "Test--spider-HTTP-Content-Disposition",
48
errcode => $expected_error_code,
49
output => \%expected_downloaded_files);
50
exit $the_test->run();