Throwable/Role/Status/PreconditionFailed.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::PreconditionFailed 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 { 412 }
12 sub default_reason { 'Precondition 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::PreconditionFailed - 412 Precondition Failed
23  
24 =head1 VERSION
25  
26 version 0.028
27  
28 =head1 DESCRIPTION
29  
30 The precondition given in one or more of the request-header
31 fields evaluated to false when it was tested on the server.
32 This response code allows the client to place preconditions
33 on the current resource metainformation (header field data)
34 and thus prevent the requested method from being applied to
35 a resource other than the one intended.
36  
37 =head1 PERL VERSION
38  
39 This library should run on perls released even a long time ago. It should work
40 on any version of perl released in the last five years.
41  
42 Although it may work on older versions of perl, no guarantee is made that the
43 minimum required version will not be increased. The version may be increased
44 for any reason, and there is no promise that patches will be accepted to lower
45 the minimum required perl.
46  
47 =head1 AUTHORS
48  
49 =over 4
50  
51 =item *
52  
53 Stevan Little <stevan.little@iinteractive.com>
54  
55 =item *
56  
57 Ricardo Signes <cpan@semiotic.systems>
58  
59 =back
60  
61 =head1 COPYRIGHT AND LICENSE
62  
63 This software is copyright (c) 2011 by Infinity Interactive, Inc.
64  
65 This is free software; you can redistribute it and/or modify it under
66 the same terms as the Perl 5 programming language system itself.
67  
68 =cut
69  
70 __END__