# Remember to update this in Catalyst::Runtime as well!
-our $VERSION = '5.90049_004';
+our $VERSION = '5.90051';
sub import {
my ( $class, @arguments ) = @_;
# 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;
}
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')