X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst.pm;h=1522bf553f0409963a69dceb967b8cc6458a4dfd;hb=813b9a18b9d33b7275d054a5ce04fe05e4c5d3c6;hp=1b47918ad1ee3708386a9e5e8e7be9db81c43a62;hpb=2328d24b6808f6d51f7338858bed5d0f12b95821;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 1b47918..1522bf5 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -83,7 +83,7 @@ __PACKAGE__->stats_class('Catalyst::Stats'); # Remember to update this in Catalyst::Runtime as well! -our $VERSION = '5.90002'; +our $VERSION = '5.90003'; sub import { my ( $class, @arguments ) = @_; @@ -1710,9 +1710,17 @@ sub finalize_headers { if ( !$response->has_body ) { # Add a default body if none is already present - $response->body( - qq{

This item has moved here.

} - ); + $response->body(<<"EOF"); + + + + Moved + + +

This item has moved here.

+ + +EOF $response->content_type('text/html; charset=utf-8'); } } @@ -1824,7 +1832,7 @@ sub handle_request { return $status; } -=head2 $c->prepare( @arguments ) +=head2 $class->prepare( @arguments ) Creates a Catalyst context from an engine-specific request (Apache, CGI, etc.).