X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FEngine%2FApache%2FMP19.pm;fp=lib%2FCatalyst%2FEngine%2FApache%2FMP19.pm;h=0000000000000000000000000000000000000000;hb=fbcc39ad23f2bbecf5d84c9ba581e6af86fcd460;hp=a3e2da32342a9441794454af25ea73bbf4ace933;hpb=21465c884872c1ec8c30acd72796445f9eaacb31;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Engine/Apache/MP19.pm b/lib/Catalyst/Engine/Apache/MP19.pm deleted file mode 100644 index a3e2da3..0000000 --- a/lib/Catalyst/Engine/Apache/MP19.pm +++ /dev/null @@ -1,95 +0,0 @@ -package Catalyst::Engine::Apache::MP19; - -use strict; -use base qw[Catalyst::Engine::Apache::MP19::Base Catalyst::Engine::CGI]; - -=head1 NAME - -Catalyst::Engine::Apache::MP19 - Catalyst Apache MP19 Engine - -=head1 SYNOPSIS - -See L. - -=head1 DESCRIPTION - -This is the Catalyst engine specialized for Apache mod_perl version 1.9x. - -=head1 OVERLOADED METHODS - -This class overloads some methods from C -and C. - -=over 4 - -=item $c->prepare_body - -=cut - -sub prepare_body { - shift->Catalyst::Engine::CGI::prepare_body(@_); -} - -=item $c->prepare_parameters - -=cut - -sub prepare_parameters { - shift->Catalyst::Engine::CGI::prepare_parameters(@_); -} - -=item $c->prepare_request - -=cut - -sub prepare_request { - my ( $c, $r, @arguments ) = @_; - - unless ( $ENV{REQUEST_METHOD} ) { - - $ENV{CONTENT_TYPE} = $r->headers_in->get("Content-Type"); - $ENV{CONTENT_LENGTH} = $r->headers_in->get("Content-Length"); - $ENV{QUERY_STRING} = $r->args; - $ENV{REQUEST_METHOD} = $r->method; - - my $cleanup = sub { - delete( $ENV{$_} ) for qw( CONTENT_TYPE - CONTENT_LENGTH - QUERY_STRING - REQUEST_METHOD ); - }; - - $r->pool->cleanup_register($cleanup); - } - - $c->SUPER::prepare_request($r); - $c->Catalyst::Engine::CGI::prepare_request( $r, @arguments ); -} - -=item $c->prepare_uploads - -=cut - -sub prepare_uploads { - shift->Catalyst::Engine::CGI::prepare_uploads(@_); -} - -=back - -=head1 SEE ALSO - -L, L, L. - -=head1 AUTHOR - -Sebastian Riedel, C -Christian Hansen C - -=head1 COPYRIGHT - -This program is free software, you can redistribute it and/or modify it under -the same terms as Perl itself. - -=cut - -1;