This file documents the revision history for Perl extension Catalyst.
-5.66
+5.66 2006-03-10 17:48:00
- Added Test::WWW::Mechanize::Catalyst support
- Cleaned generated tests
- - Change redirect to use a 301, not a 302
- - Added Root controller concept
+ - Added Root controller concept
- Updated ConfigLoader plugin to version 0.04
5.65 2006-02-21 10:34:00
ok( my $response = request('http://localhost/engine/response/cookies/two'),
'Request' );
ok( $response->is_redirect, 'Response Redirection 3xx' );
- is( $response->code, 301, 'Response Code' );
+ is( $response->code, 302, 'Response Code' );
is( $response->header('X-Catalyst-Action'),
'engine/response/cookies/two', 'Test Action' );
{
ok( my $response = request('http://localhost/engine/response/redirect/one'), 'Request' );
ok( $response->is_redirect, 'Response Redirection 3xx' );
- is( $response->code, 301, 'Response Code' );
+ is( $response->code, 302, 'Response Code' );
is( $response->header('X-Catalyst-Action'), 'engine/response/redirect/one', 'Test Action' );
is( $response->header('Location'), '/test/writing/is/boring', 'Response Header Location' );
}
{
ok( my $response = request('http://localhost/engine/response/redirect/two'), 'Request' );
ok( $response->is_redirect, 'Response Redirection 3xx' );
- is( $response->code, 301, 'Response Code' );
+ is( $response->code, 302, 'Response Code' );
is( $response->header('X-Catalyst-Action'), 'engine/response/redirect/two', 'Test Action' );
is( $response->header('Location'), 'http://www.google.com/', 'Response Header Location' );
}