| 1 | package HTTP::Throwable::Role::Status::UnsupportedMediaType; | ||
| 2 | our $AUTHORITY = 'cpan:STEVAN'; | ||
| 3 | $HTTP::Throwable::Role::Status::UnsupportedMediaType::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 { 415 } | ||
| 12 | sub default_reason { 'Unsupported Media Type' } | ||
| 13 | |||
| 14 | no Moo::Role; 1; | ||
| 15 | |||
| 16 | =pod | ||
| 17 | |||
| 18 | =encoding UTF-8 | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | HTTP::Throwable::Role::Status::UnsupportedMediaType - 415 Unsupported Media Type | ||
| 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 entity | ||
| 31 | of the request is in a format not supported by the requested resource | ||
| 32 | for the requested method. | ||
| 33 | |||
| 34 | =head1 AUTHORS | ||
| 35 | |||
| 36 | =over 4 | ||
| 37 | |||
| 38 | =item * | ||
| 39 | |||
| 40 | Stevan Little <stevan.little@iinteractive.com> | ||
| 41 | |||
| 42 | =item * | ||
| 43 | |||
| 44 | Ricardo Signes <rjbs@cpan.org> | ||
| 45 | |||
| 46 | =back | ||
| 47 | |||
| 48 | =head1 COPYRIGHT AND LICENSE | ||
| 49 | |||
| 50 | This software is copyright (c) 2011 by Infinity Interactive, Inc. | ||
| 51 | |||
| 52 | This is free software; you can redistribute it and/or modify it under | ||
| 53 | the same terms as the Perl 5 programming language system itself. | ||
| 54 | |||
| 55 | =cut | ||
| 56 | |||
| 57 | __END__ |