| 1 | package HTTP::Throwable::Role::Status::ExpectationFailed; | ||
| 2 | our $AUTHORITY = 'cpan:STEVAN'; | ||
| 3 | $HTTP::Throwable::Role::Status::ExpectationFailed::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 { 417 } | ||
| 12 | sub default_reason { 'Expectation Failed' } | ||
| 13 | |||
| 14 | no Moo::Role; 1; | ||
| 15 | |||
| 16 | =pod | ||
| 17 | |||
| 18 | =encoding UTF-8 | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | HTTP::Throwable::Role::Status::ExpectationFailed - 417 Expectation Failed | ||
| 23 | |||
| 24 | =head1 VERSION | ||
| 25 | |||
| 26 | version 0.027 | ||
| 27 | |||
| 28 | =head1 DESCRIPTION | ||
| 29 | |||
| 30 | The expectation given in an Expect request-header field | ||
| 31 | could not be met by this server, or, if the server is a | ||
| 32 | proxy, the server has unambiguous evidence that the | ||
| 33 | request could not be met by the next-hop server. | ||
| 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__ |