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.062 second using v1.00-cache-2.02-grep-82fe00e-cpan-1925d2aa809 )