9 ###############################################################################
14 <title>Main Page</title>
18 Some text and a link to a <a href="http://localhost:{{port}}/secondpage.html">second page</a>.
24 my $secondpage = <<EOF;
27 <title>Second Page</title>
37 # code, msg, headers, content
43 "Content-type" => "text/html",
47 '/secondpage.html' => {
51 "Content-type" => "text/html",
53 content => $secondpage,
57 my $cmdline = $WgetTest::WGETPATH . " --https-only -r -nH http://localhost:{{port}}/";
59 my $expected_error_code = 0;
61 my %expected_downloaded_files = (
67 ###############################################################################
69 my $the_test = HTTPTest->new (name => "Test--httpsonly-r",
72 errcode => $expected_error_code,
73 output => \%expected_downloaded_files);
74 print $expected_error_code."\n";
76 exit $the_test->run();