File Coverage

blib/lib/HTTP/Throwable/Role/Status/UseProxy.pm
Criterion Covered Total %
statement 8 8 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod 0 2 0.0
total 12 14 85.7


line stmt bran cond sub pod time code
1             package HTTP::Throwable::Role::Status::UseProxy 0.028;
2             our $AUTHORITY = 'cpan:STEVAN';
3              
4 1     1   725 use Moo::Role;
  1         3  
  1         10  
5              
6             with(
7             'HTTP::Throwable',
8             'HTTP::Throwable::Role::Redirect',
9             'HTTP::Throwable::Role::BoringText',
10             );
11              
12 2     2 0 81 sub default_status_code { 305 }
13 2     2 0 9239 sub default_reason { 'Use Proxy' }
14              
15 1     1   432 no Moo::Role; 1;
  1         3  
  1         12  
16              
17             =pod
18              
19             =encoding UTF-8
20              
21             =head1 NAME
22              
23             HTTP::Throwable::Role::Status::UseProxy - 305 Use Proxy
24              
25             =head1 VERSION
26              
27             version 0.028
28              
29             =head1 DESCRIPTION
30              
31             The requested resource MUST be accessed through the proxy given
32             by the Location field. The Location field gives the URI of the
33             proxy. The recipient is expected to repeat this single request
34             via the proxy. 305 responses MUST only be generated by origin
35             servers.
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
54              
55             =item *
56              
57             Ricardo Signes
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__