9 ###############################################################################
11 my $dummyfile = <<EOF;
14 <title>Page Title</title>
24 # code, msg, headers, content
30 "Content-type" => "text/html",
31 "Content-Disposition" => "attachment; filename=\"filename.html\"",
33 content => $dummyfile,
37 my $cmdline = $WgetTest::WGETPATH . " -e contentdisposition=on http://localhost:{{port}}/dummy.html";
39 my $expected_error_code = 0;
41 my %expected_downloaded_files = (
43 content => $dummyfile,
47 ###############################################################################
49 my $the_test = HTTPTest->new (name => "Test-HTTP-Content-Disposition",
52 errcode => $expected_error_code,
53 output => \%expected_downloaded_files);
54 exit $the_test->run();