9 use_ok 'Net::HTTPS::Any';
13 my($content, $response, %headers) = Net::HTTPS::Any::https_get(
14 { 'host' => 'secure.sisd.com',
16 'path' => '/freeside/index.html',
18 'net_https_any_test' => 1,
21 like($response, qr/^HTTP\/[\d\.]+\s+200/i, 'Received 200 (OK) response');
23 ok( length($content), 'Received content' );
27 my($content2, $response2, %headers2) = Net::HTTPS::Any::https_get(
28 { 'host' => 'secure.sisd.com',
30 'path' => '/freeside/notfound.html',
32 'net_https_any_test' => 1,
35 like($response2, qr/^HTTP\/[\d\.]+\s+404/i, 'Received 404 (OK) response');