Apache-Wyrd
view release on metacpan or search on metacpan
use Apache::Test;
use Apache::TestUtil;
use Apache::TestRequest 'GET_BODY';
use LWP::UserAgent;
my $ua = LWP::UserAgent->new(
keep_alive => 1,
timeout => 30,
requests_redirectable => []
);
plan tests => 7;
my $res = $ua->get('http://localhost:8529/restricted/test.html');
my $cookie = $res->header('Set-Cookie');
ok ($cookie =~ /check_cookie=checking/);
( run in 1.345 second using v1.01-cache-2.11-cpan-df04353d9ac )