9 ###############################################################################
11 my $page1 = "Hello, world!\n";
12 my $page2 = "Goodbye, Sam.\n";
14 # code, msg, headers, content
20 "Content-type" => "text/plain",
21 "Set-Cookie" => "foo=bar",
30 "Cookie" => qr|foo=bar|,
35 my $cmdline = $WgetTest::WGETPATH . " http://localhost:{{port}}/one.txt"
36 . " http://localhost:{{port}}/two.txt";
38 my $expected_error_code = 0;
40 my %expected_downloaded_files = (
49 ###############################################################################
51 my $the_test = HTTPTest->new (name => "Test-cookies",
54 errcode => $expected_error_code,
55 output => \%expected_downloaded_files);
56 exit $the_test->run();