8
###############################################################################
10
my $dummyfile = <<EOF;
13
<title>Page Title</title>
23
# code, msg, headers, content
29
"Content-type" => "text/html",
30
"Content-Disposition" => "attachment; filename=\"filename.html\"",
32
content => $dummyfile,
36
my $cmdline = $WgetTest::WGETPATH . " --no-content-disposition http://localhost:8080/dummy.html";
38
my $expected_error_code = 0;
40
my %expected_downloaded_files = (
42
content => $dummyfile,
46
###############################################################################
48
my $the_test = HTTPTest->new (name => "Test--no-content-disposition",
51
errcode => $expected_error_code,
52
output => \%expected_downloaded_files);
53
exit $the_test->run();