keep_alive => 1,
max_redirect => 0,
timeout => 60,
+
+ # work around newer LWP max_redirect 0 bug
+ # http://rt.cpan.org/Ticket/Display.html?id=40260
+ requests_redirectable => [],
);
$agent->env_proxy;
is_deeply( $cookies, $expected, 'Response Cookies' );
}
-# XXX: these fail on remote servers due to LWP max_redirect 0 bug:
-# http://rt.cpan.org/Ticket/Display.html?id=40260
{
ok( my $response = request('http://localhost/engine/response/cookies/two'),
'Request' );
use Test::More tests => 26;
use Catalyst::Test 'TestApp';
-# XXX: these fail on remote servers due to LWP max_redirect 0 bug:
-# http://rt.cpan.org/Ticket/Display.html?id=40260
{
ok( my $response = request('http://localhost/engine/response/redirect/one'), 'Request' );
ok( $response->is_redirect, 'Response Redirection 3xx' );