9 ###############################################################################
11 my $dummyfile = <<EOF;
15 # code, msg, headers, content
21 "Content-type" => "text/plain",
22 "Content-Disposition" => "attachment; filename=\"filename.txt\"",
28 my $cmdline = $WgetTest::WGETPATH . " -O out --no-content-disposition http://localhost:{{port}}/dummy.txt";
30 my $expected_error_code = 0;
32 my %expected_downloaded_files = (
34 content => $dummyfile,
38 ###############################################################################
40 my $the_test = HTTPTest->new (name => "Test-O--no-content-disposition",
43 errcode => $expected_error_code,
44 output => \%expected_downloaded_files);
45 exit $the_test->run();