Throwable/Role/Status/LengthRequired.pm untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
default_status_code
2.0
default_reason
2.0
BEGIN
2.0
CRAP 2.0
1 package HTTP::Throwable::Role::Status::LengthRequired 0.028;
2 our $AUTHORITY = 'cpan:STEVAN';
3  
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.028
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 PERL VERSION
36  
37 This library should run on perls released even a long time ago. It should work
38 on any version of perl released in the last five years.
39  
40 Although it may work on older versions of perl, no guarantee is made that the
41 minimum required version will not be increased. The version may be increased
42 for any reason, and there is no promise that patches will be accepted to lower
43 the minimum required perl.
44  
45 =head1 AUTHORS
46  
47 =over 4
48  
49 =item *
50  
51 Stevan Little <stevan.little@iinteractive.com>
52  
53 =item *
54  
55 Ricardo Signes <cpan@semiotic.systems>
56  
57 =back
58  
59 =head1 COPYRIGHT AND LICENSE
60  
61 This software is copyright (c) 2011 by Infinity Interactive, Inc.
62  
63 This is free software; you can redistribute it and/or modify it under
64 the same terms as the Perl 5 programming language system itself.
65  
66 =cut
67  
68 __END__