Apache-Dir

 view release on metacpan or  search on metacpan

t/basic.t  view on Meta::CPAN


use constant DECLINED               => -1;
use constant DIR_MAGIC_TYPE         => 'httpd/unix-directory';
use constant HTTP_MOVED_PERMANENTLY => 301;

{
    package Apache::FakeRequest;
    no warnings 'redefine';
    sub new {
        my $class = shift;
        bless { @_ } => $class;
    }
    sub content_type { shift->{content_type}      }
    sub uri          { shift->{uri}               }
    sub args         { shift->{args}              }
    sub header_out   {
        my $self = shift;
        $self->{header_out} = [@_];
    }
}

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.053 second using v1.00-cache-1.14-grep-28634ff-cpan-4d46879620f )