7 use lib "$FindBin::Bin/../lib";
9 use Test::More tests => 3;
10 use Catalyst::Test 'TestApp';
14 # Net::HTTP::Methods crashes when talking to a remote server because this
15 # test causes a very long header line to be sent
16 if ( $ENV{CATALYST_SERVER} ) {
17 skip 'Using remote server', 3;
20 ok( my $response = request('http://localhost/loop_test'), 'Request' );
21 ok( $response->is_success, 'Response Successful 2xx' );
22 ok( $response->header('X-Class-Forward-Test-Method'), 'Loop OK' );