9 plan skip_all => "LWP tests disabled to avoid excessive dependencies";
12 $Net::HTTPS::Any::skip_NetSSLeay=1;
13 $Net::HTTPS::Any::skip_NetSSLeay=1;
14 use_ok 'Net::HTTPS::Any', 'https_get';
19 my($content, $response, %headers) = https_get(
20 { 'host' => 'www.fortify.net',
22 'path' => '/sslcheck.html',
24 'net_https_any_test' => 1,
27 #like($response, qr/^HTTP\/[\d\.]+\s+200/i, 'Received 200 (OK) response');
28 like($response, qr/^200/i, 'Received 200 (OK) response');
30 ok( length($content), 'Received content' );
34 my($content2, $response2, %headers2) = https_get(
35 { 'host' => 'www.fortify.net',
37 'path' => '/notfound.html',
39 'net_https_any_test' => 1,
42 #like($response2, qr/^HTTP\/[\d\.]+\s+404/i, 'Received 404 (Not found) response');
43 like($response2, qr/^404/i, 'Received 404 (Not found) response');