| 1 | package HTTP::Throwable::Role::Status::LengthRequired; | ||
| 2 | our $AUTHORITY = 'cpan:STEVAN'; | ||
| 3 | $HTTP::Throwable::Role::Status::LengthRequired::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 { 411 } | ||
| 12 | sub default_reason { 'Length Required' } | ||
| 13 | |||
| 14 | no Moo::Role; 1; | ||
| 15 | |||
| 16 | =pod | ||
| 17 | |||
| 18 | =encoding UTF-8 | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | HTTP::Throwable::Role::Status::LengthRequired - 411 Length Required | ||
| 23 | |||
| 24 | =head1 VERSION | ||
| 25 | |||
| 26 | version 0.027 | ||
| 27 | |||
| 28 | =head1 DESCRIPTION | ||
| 29 | |||
| 30 | The server refuses to accept the request without a defined | ||
| 31 | Content-Length. The client MAY repeat the request if it | ||
| 32 | adds a valid Content-Length header field containing the | ||
| 33 | length of the message-body in the request message. | ||
| 34 | |||
| 35 | =head1 AUTHORS | ||
| 36 | |||
| 37 | =over 4 | ||
| 38 | |||
| 39 | =item * | ||
| 40 | |||
| 41 | Stevan Little <stevan.little@iinteractive.com> | ||
| 42 | |||
| 43 | =item * | ||
| 44 | |||
| 45 | Ricardo Signes <rjbs@cpan.org> | ||
| 46 | |||
| 47 | =back | ||
| 48 | |||
| 49 | =head1 COPYRIGHT AND LICENSE | ||
| 50 | |||
| 51 | This software is copyright (c) 2011 by Infinity Interactive, Inc. | ||
| 52 | |||
| 53 | This is free software; you can redistribute it and/or modify it under | ||
| 54 | the same terms as the Perl 5 programming language system itself. | ||
| 55 | |||
| 56 | =cut | ||
| 57 | |||
| 58 | __END__ |