Apache-Emulator
view release on metacpan or search on metacpan
lib/Apache/Emulator/Apache/Constants.pm view on Meta::CPAN
DECLINED
DONE
NOT_FOUND
FORBIDDEN
AUTH_REQUIRED
SERVER_ERROR);
sub OK { 0 }
sub DECLINED { -1 }
sub DONE { -2 }
sub NOT_FOUND { 404 }
sub FORBIDDEN { 403 }
sub AUTH_REQUIRED { 401 }
sub SERVER_ERROR { 500 }
my(@methods) = qw(M_CONNECT
M_DELETE
M_GET
M_INVALID
M_OPTIONS
M_POST
lib/Apache/Emulator/Apache/Constants.pm view on Meta::CPAN
HTTP_SERVICE_UNAVAILABLE
HTTP_VARIANT_ALSO_VARIES);
use constant HTTP_OK => 200;
use constant HTTP_MOVED_TEMPORARILY => 302;
use constant HTTP_MOVED_PERMANENTLY => 301;
use constant HTTP_METHOD_NOT_ALLOWED => 405;
use constant HTTP_NOT_MODIFIED => 304;
use constant HTTP_UNAUTHORIZED => 401;
use constant HTTP_FORBIDDEN => 403;
use constant HTTP_NOT_FOUND => 404;
use constant HTTP_BAD_REQUEST => 400;
use constant HTTP_INTERNAL_SERVER_ERROR => 500;
use constant HTTP_NOT_ACCEPTABLE => 406;
use constant HTTP_NO_CONTENT => 204;
use constant HTTP_PRECONDITION_FAILED => 412;
use constant HTTP_SERVICE_UNAVAILABLE => 503;
use constant HTTP_VARIANT_ALSO_VARIES => 506;
my(@config) = qw(DECLINE_CMD);
my(@types) = qw(DIR_MAGIC_TYPE);
( run in 1.785 second using v1.01-cache-2.11-cpan-39bf76dae61 )