X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst.pm;h=310eafe6e5eef3255ce25c9db847dd33faeb27b8;hp=ae07a908d2992077ddabbd81ea69ad6d979bbbfe;hb=fc89737e02828d5d94c5271c74fb173ad29b28ca;hpb=2d802c4a34d83aedcad4fb7686f9f54f24a1fcef diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index ae07a90..310eafe 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -120,7 +120,7 @@ __PACKAGE__->stats_class('Catalyst::Stats'); # Remember to update this in Catalyst::Runtime as well! -our $VERSION = '5.90049_004'; +our $VERSION = '5.90051'; sub import { my ( $class, @arguments ) = @_; @@ -1837,7 +1837,7 @@ sub finalize { # Support skipping finalize for psgix.io style 'jailbreak'. Used to support # stuff like cometd and websockets - if($c->request->has_io_fh) { + if($c->request->_has_io_fh) { $c->log_response; return; } @@ -3210,7 +3210,7 @@ sub default_data_handlers { my ($fh, $req) = @_; my $params = $req->_use_hash_multivalue ? $req->body_parameters->mixed : $req->body_parameters; Class::Load::load_first_existing_class('CGI::Struct::XS', 'CGI::Struct') - ->('build_cgi_struct')->($params); + ->can('build_cgi_struct')->($params); }, 'application/json' => sub { Class::Load::load_first_existing_class('JSON::MaybeXS', 'JSON')