X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FEngine.pm;h=cac63de891b12af013852fbc50b06adc1f062849;hb=5aca55994d0ff64a75ea7d0900dfff545b36d103;hp=948f28ff76edbc62e4eaa3b6c79c554ef841c138;hpb=6adc45cf93c50a080f1f32bad475fd2ab5844887;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Engine.pm b/lib/Catalyst/Engine.pm index 948f28f..cac63de 100644 --- a/lib/Catalyst/Engine.pm +++ b/lib/Catalyst/Engine.pm @@ -14,6 +14,7 @@ use Encode 2.21 'decode_utf8'; use Plack::Request::Upload; use Hash::MultiValue; use namespace::clean -except => 'meta'; +use utf8; # Amount of data to read from input on each pass our $CHUNKSIZE = 64 * 1024; @@ -129,7 +130,6 @@ sub finalize_body { # There's no body... $body = []; } - $res->_response_cb->([ $res->status, \@headers, $body]); $res->_clear_response_cb; @@ -574,14 +574,6 @@ sub prepare_query_parameters { my ($self, $c) = @_; my $env = $c->request->env; - if(my $query_obj = $env->{'plack.request.query'}) { - $c->request->query_parameters( - $c->request->_use_hash_multivalue ? - $query_obj->clone : - $query_obj->as_hashref_mixed); - return; - } - my $query_string = exists $env->{QUERY_STRING} ? $env->{QUERY_STRING} : '';