X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst.pm;h=2d828b113094ec54aa86ef1d98db67ac5dc4537e;hb=f2ceb02dd49d80f5c4e38cd8cb80ff720149d5bf;hp=6155e9ca9d4cefba6f3d56c7acd8125c7b89e107;hpb=cb1e348badf54b4ceacca793b0baa6312e2a7e5d;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 6155e9c..2d828b1 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.89003'; +our $VERSION = '5.90002'; sub import { my ( $class, @arguments ) = @_; @@ -1866,6 +1866,7 @@ sub finalize_headers { $response->body( qq{

This item has moved here.

} ); + $response->content_type('text/html; charset=utf-8'); } } @@ -2726,16 +2727,6 @@ sub apply_default_middlewares { }, ); - my $server_matches = sub { - my ($re) = @_; - return sub { - my ($env) = @_; - my $server = $env->{SERVER_SOFTWARE}; - return unless $server; - return $server =~ $re ? 1 : 0; - }; - }; - # If we're running under Lighttpd, swap PATH_INFO and SCRIPT_NAME # http://lists.scsys.co.uk/pipermail/catalyst/2006-June/008361.html $psgi_app = Plack::Middleware::LighttpdScriptNameFix->wrap($psgi_app);