Throwable/Role/Status/RequestURITooLong.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::RequestURITooLong 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 { 414 }
12 sub default_reason { 'Request-URI Too Long' }
13  
14 no Moo::Role; 1;
15  
16 =pod
17  
18 =encoding UTF-8
19  
20 =head1 NAME
21  
22 HTTP::Throwable::Role::Status::RequestURITooLong - 414 Request-URI Too Long
23  
24 =head1 VERSION
25  
26 version 0.028
27  
28 =head1 DESCRIPTION
29  
30 The server is refusing to service the request because the
31 Request-URI is longer than the server is willing to interpret.
32 This rare condition is only likely to occur when a client has
33 improperly converted a POST request to a GET request with long
34 query information, when the client has descended into a URI
35 "black hole" of redirection (e.g., a redirected URI prefix that
36 points to a suffix of itself), or when the server is under attack
37 by a client attempting to exploit security holes present in some
38 servers using fixed-length buffers for reading or manipulating
39 the Request-URI.
40  
41 =head1 PERL VERSION
42  
43 This library should run on perls released even a long time ago. It should work
44 on any version of perl released in the last five years.
45  
46 Although it may work on older versions of perl, no guarantee is made that the
47 minimum required version will not be increased. The version may be increased
48 for any reason, and there is no promise that patches will be accepted to lower
49 the minimum required perl.
50  
51 =head1 AUTHORS
52  
53 =over 4
54  
55 =item *
56  
57 Stevan Little <stevan.little@iinteractive.com>
58  
59 =item *
60  
61 Ricardo Signes <cpan@semiotic.systems>
62  
63 =back
64  
65 =head1 COPYRIGHT AND LICENSE
66  
67 This software is copyright (c) 2011 by Infinity Interactive, Inc.
68  
69 This is free software; you can redistribute it and/or modify it under
70 the same terms as the Perl 5 programming language system itself.
71  
72 =cut
73  
74 __END__