1 package Catalyst::Engine::Apache::MP19;
4 use base qw[Catalyst::Engine::Apache::MP19::Base Catalyst::Engine::CGI];
8 Catalyst::Engine::Apache::MP19 - Catalyst Apache MP19 Engine
16 This is the Catalyst engine specialized for Apache mod_perl version 1.9x.
18 =head1 OVERLOADED METHODS
20 This class overloads some methods from C<Catalyst::Engine::Apache::MP13::Base>
21 and C<Catalyst::Engine::CGI>.
25 =item $c->prepare_body
30 shift->Catalyst::Engine::CGI::prepare_body(@_);
33 =item $c->prepare_parameters
37 sub prepare_parameters {
38 shift->Catalyst::Engine::CGI::prepare_parameters(@_);
41 =item $c->prepare_request
46 my ( $c, $r, @arguments ) = @_;
48 unless ( $ENV{REQUEST_METHOD} ) {
50 $ENV{CONTENT_TYPE} = $r->headers_in->get("Content-Type");
51 $ENV{CONTENT_LENGTH} = $r->headers_in->get("Content-Length");
52 $ENV{QUERY_STRING} = $r->args;
53 $ENV{REQUEST_METHOD} = $r->method;
56 delete( $ENV{$_} ) for qw( CONTENT_TYPE
62 $r->pool->cleanup_register($cleanup);
65 $c->SUPER::prepare_request($r);
66 $c->Catalyst::Engine::CGI::prepare_request( $r, @arguments );
69 =item $c->prepare_uploads
74 shift->Catalyst::Engine::CGI::prepare_uploads(@_);
81 L<Catalyst>, L<Catalyst::Engine>, L<Catalyst::Engine::Apache::Base>.
85 Sebastian Riedel, C<sri@cpan.org>
86 Christian Hansen C<ch@ngmedia.com>
90 This program is free software, you can redistribute it and/or modify it under
91 the same terms as Perl itself.