« Throwable/Role/Status/RequestEntityTooLarge.pm
↑ Summary
Throwable/Role/Status/RequestedRangeNotSatisfiable.pm »
| 1 | package HTTP::Throwable::Role::Status::RequestURITooLong; | ||
| 2 | our $AUTHORITY = 'cpan:STEVAN'; | ||
| 3 | $HTTP::Throwable::Role::Status::RequestURITooLong::VERSION = '0.027'; | ||
| 4 | use Moo::Role; | ||
| 5 | |||
| 6 | with( | ||
| 7 | 'HTTP::Throwable', | ||
| 8 | 'HTTP::Throwable::Role::BoringText', | ||
| 9 | ); | ||
| 10 | |||
| 11 | sub default_status_code { 414 } | ||
| 12 | sub default_reason { 'Request-URI Too Long' } | ||
| 13 | |||
| 14 | no Moo::Role; 1; | ||
| 15 | |||
| 16 | =pod | ||
| 17 | |||
| 18 | =encoding UTF-8 | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | HTTP::Throwable::Role::Status::RequestURITooLong - 414 Request-URI Too Long | ||
| 23 | |||
| 24 | =head1 VERSION | ||
| 25 | |||
| 26 | version 0.027 | ||
| 27 | |||
| 28 | =head1 DESCRIPTION | ||
| 29 | |||
| 30 | The server is refusing to service the request because the | ||
| 31 | Request-URI is longer than the server is willing to interpret. | ||
| 32 | This rare condition is only likely to occur when a client has | ||
| 33 | improperly converted a POST request to a GET request with long | ||
| 34 | query information, when the client has descended into a URI | ||
| 35 | "black hole" of redirection (e.g., a redirected URI prefix that | ||
| 36 | points to a suffix of itself), or when the server is under attack | ||
| 37 | by a client attempting to exploit security holes present in some | ||
| 38 | servers using fixed-length buffers for reading or manipulating | ||
| 39 | the Request-URI. | ||
| 40 | |||
| 41 | =head1 AUTHORS | ||
| 42 | |||
| 43 | =over 4 | ||
| 44 | |||
| 45 | =item * | ||
| 46 | |||
| 47 | Stevan Little <stevan.little@iinteractive.com> | ||
| 48 | |||
| 49 | =item * | ||
| 50 | |||
| 51 | Ricardo Signes <rjbs@cpan.org> | ||
| 52 | |||
| 53 | =back | ||
| 54 | |||
| 55 | =head1 COPYRIGHT AND LICENSE | ||
| 56 | |||
| 57 | This software is copyright (c) 2011 by Infinity Interactive, Inc. | ||
| 58 | |||
| 59 | This is free software; you can redistribute it and/or modify it under | ||
| 60 | the same terms as the Perl 5 programming language system itself. | ||
| 61 | |||
| 62 | =cut | ||
| 63 | |||
| 64 | __END__ |