| 1 | package HTTP::Throwable::Role::Status::NotFound 0.028; | ||
| 2 | 2 | our $AUTHORITY = 'cpan:STEVAN'; | |
| 3 | |||
| 4 | 2 | ▶ | use Moo::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 2 | with( | |
| 7 | 'HTTP::Throwable', | ||
| 8 | 'HTTP::Throwable::Role::BoringText', | ||
| 9 | ); | ||
| 10 | |||
| 11 | 3 | ▶ | sub default_status_code { 404 } |
|
Subroutine
default_status_code: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 12 | 3 | ▶ | sub default_reason { 'Not Found' } |
|
Subroutine
default_reason: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 13 | |||
| 14 | 2 | ▶ | no Moo::Role; 1; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | |||
| 16 | =pod | ||
| 17 | |||
| 18 | =encoding UTF-8 | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | HTTP::Throwable::Role::Status::NotFound - 404 Not Found | ||
| 23 | |||
| 24 | =head1 VERSION | ||
| 25 | |||
| 26 | version 0.028 | ||
| 27 | |||
| 28 | =head1 DESCRIPTION | ||
| 29 | |||
| 30 | The server has not found anything matching the Request-URI. | ||
| 31 | No indication is given of whether the condition is temporary | ||
| 32 | or permanent. The 410 (Gone) status code SHOULD be used if | ||
| 33 | the server knows, through some internally configurable mechanism, | ||
| 34 | that an old resource is permanently unavailable and has no | ||
| 35 | forwarding address. This status code is commonly used when | ||
| 36 | the server does not wish to reveal exactly why the request | ||
| 37 | has been refused, or when no other response is applicable. | ||
| 38 | |||
| 39 | =head1 PERL VERSION | ||
| 40 | |||
| 41 | This library should run on perls released even a long time ago. It should work | ||
| 42 | on any version of perl released in the last five years. | ||
| 43 | |||
| 44 | Although it may work on older versions of perl, no guarantee is made that the | ||
| 45 | minimum required version will not be increased. The version may be increased | ||
| 46 | for any reason, and there is no promise that patches will be accepted to lower | ||
| 47 | the minimum required perl. | ||
| 48 | |||
| 49 | =head1 AUTHORS | ||
| 50 | |||
| 51 | =over 4 | ||
| 52 | |||
| 53 | =item * | ||
| 54 | |||
| 55 | Stevan Little <stevan.little@iinteractive.com> | ||
| 56 | |||
| 57 | =item * | ||
| 58 | |||
| 59 | Ricardo Signes <cpan@semiotic.systems> | ||
| 60 | |||
| 61 | =back | ||
| 62 | |||
| 63 | =head1 COPYRIGHT AND LICENSE | ||
| 64 | |||
| 65 | This software is copyright (c) 2011 by Infinity Interactive, Inc. | ||
| 66 | |||
| 67 | This is free software; you can redistribute it and/or modify it under | ||
| 68 | the same terms as the Perl 5 programming language system itself. | ||
| 69 | |||
| 70 | =cut | ||
| 71 | |||
| 72 | __END__ | ||