Apache-AuthCookie
view release on metacpan or search on metacpan
lib/Apache/AuthCookie/Params/Base.pm view on Meta::CPAN
=head1 DESCRIPTION
This is the base class for AuthCookie Params drivers.
=head1 METHODS
=head2 new($r)
Constructor. This will generate either an internal
L<Apache::AuthCookie::Params::CGI> object, or, if available, use libapreq2.
Note that libapreq2 will not be used if you turned on C<Encoding> support
because libapreq2 does not have any support for unicode.
=head1 SOURCE
The development version is on github at L<https://github.com/mschout/apache-authcookie>
and may be cloned from L<https://github.com/mschout/apache-authcookie.git>
=head1 BUGS
Please report any bugs or feature requests on the bugtracker website
L<https://github.com/mschout/apache-authcookie/issues>
#!perl
use strict;
use warnings FATAL => 'all';
use lib qw(t/lib blib/lib);
use Apache::TestRunPerl ();
# mod_auth can cause test failures if in the wrong spot in the
# Apache chain, so we just make sure it does not get added. (test case: static
# mod_perl build and everything else as a DSO).
Apache::TestConfig::autoconfig_skip_module_add('mod_auth.c');
Apache::TestRunPerl->new->run(@ARGV);
# TODO: handle line-endings better. Perhaps we should just look for an
# identifying part of each page rather than trying to do an exact match
# of the entire page. The problem is on win32, some responses come back with
# dos-style line endings (not all of them though). Not sure what MacOS does
# and I don't have a Mac to test with. Currently, we just strip CR's out of
# responses to make the tests pass on Unix and Win32.
use strict;
use warnings FATAL => 'all';
use lib 'lib';
use utf8;
use Apache::Test '-withtestmore';
use Apache::TestUtil;
use Apache::TestRequest qw(GET POST GET_BODY);
use Encode qw(encode);
use URI;
Apache::TestRequest::user_agent( reset => 1, requests_redirectable => 0 );
t/startup.pl view on Meta::CPAN
use lib qw(../blib/lib blib/lib lib t/lib);
1;
( run in 0.365 second using v1.01-cache-2.11-cpan-87723dcf8b7 )