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;
2             our $AUTHORITY = 'cpan:STEVAN';
3             $HTTP::Throwable::Role::Status::UseProxy::VERSION = '0.026';
4 1     1   935 use Moo::Role;
  1         3  
  1         11  
5              
6             with(
7             'HTTP::Throwable',
8             'HTTP::Throwable::Role::Redirect',
9             'HTTP::Throwable::Role::BoringText',
10             );
11              
12 2     2 0 82 sub default_status_code { 305 }
13 2     2 0 8285 sub default_reason { 'Use Proxy' }
14              
15 1     1   397 no Moo::Role; 1;
  1         3  
  1         5  
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.026
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 AUTHORS
38              
39             =over 4
40              
41             =item *
42              
43             Stevan Little
44              
45             =item *
46              
47             Ricardo Signes
48              
49             =back
50              
51             =head1 COPYRIGHT AND LICENSE
52              
53             This software is copyright (c) 2011 by Infinity Interactive, Inc..
54              
55             This is free software; you can redistribute it and/or modify it under
56             the same terms as the Perl 5 programming language system itself.
57              
58             =cut
59              
60             __END__