Throwable/Role/Status/HTTPVersionNotSupported.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 2 totaltotal 88.8% 16 / 18 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
default_status_code
1.0
default_reason
1.0
CRAP 1.0
« Throwable/Role/Status/GatewayTimeout.pm ↑ Summary Throwable/Role/Status/MovedPermanently.pm »
1 package HTTP::Throwable::Role::Status::HTTPVersionNotSupported;
2 1 our $AUTHORITY = 'cpan:STEVAN';
3 1 $HTTP::Throwable::Role::Status::HTTPVersionNotSupported::VERSION = '0.027';
4 1 ▶use Moo::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 with(
7 'HTTP::Throwable',
8 'HTTP::Throwable::Role::BoringText',
9 );
10  
11 2 ▶sub default_status_code { 505 }
Subroutine default_status_code: called CC=1 SCAR=0.0
Pod undocumented
12 2 ▶sub default_reason { 'HTTP Version Not Supported' }
Subroutine default_reason: called CC=1 SCAR=0.0
Pod undocumented
13  
14 1 ▶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::HTTPVersionNotSupported - 505 HTTP Version Not Supported
23  
24 =head1 VERSION
25  
26 version 0.027
27  
28 =head1 DESCRIPTION
29  
30 The server does not support, or refuses to support, the
31 HTTP protocol version that was used in the request message.
32 The server is indicating that it is unable or unwilling to
33 complete the request using the same major version as the
34 client, other than with this error message. The response
35 SHOULD contain an entity describing why that version is not
36 supported and what other protocols are supported by that
37 server.
38  
39 =head1 AUTHORS
40  
41 =over 4
42  
43 =item *
44  
45 Stevan Little <stevan.little@iinteractive.com>
46  
47 =item *
48  
49 Ricardo Signes <rjbs@cpan.org>
50  
51 =back
52  
53 =head1 COPYRIGHT AND LICENSE
54  
55 This software is copyright (c) 2011 by Infinity Interactive, Inc.
56  
57 This is free software; you can redistribute it and/or modify it under
58 the same terms as the Perl 5 programming language system itself.
59  
60 =cut
61  
62 __END__
« Throwable/Role/Status/GatewayTimeout.pm ↑ Summary Throwable/Role/Status/MovedPermanently.pm »