X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst.pm;h=4e97a4922c70987bef9ad2ff0fc60ebd6b99c94a;hp=641c84e31a884f278ca8d2966743456add05db0b;hb=23a34adfebeb887fb66214421cb3064f83e796cd;hpb=d536010b1fe05ffe44ecf20d9ca0ac1445d1d2ed diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 641c84e..4e97a49 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -84,7 +84,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 ) = @_; @@ -1863,9 +1863,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'); } }