File Coverage

blib/lib/HTTP/Throwable/Role/Status/GatewayTimeout.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::GatewayTimeout;
2             our $AUTHORITY = 'cpan:STEVAN';
3             $HTTP::Throwable::Role::Status::GatewayTimeout::VERSION = '0.026';
4 1     1   780 use Moo::Role;
  1         3  
  1         8  
5              
6             with(
7             'HTTP::Throwable',
8             'HTTP::Throwable::Role::BoringText',
9             );
10              
11 2     2 0 86 sub default_status_code { 504 }
12 2     2 0 7019 sub default_reason { 'Gateway Timeout' }
13              
14 1     1   419 no Moo::Role; 1;
  1         2  
  1         4  
15              
16             =pod
17              
18             =encoding UTF-8
19              
20             =head1 NAME
21              
22             HTTP::Throwable::Role::Status::GatewayTimeout - 504 Gateway Timeout
23              
24             =head1 VERSION
25              
26             version 0.026
27              
28             =head1 DESCRIPTION
29              
30             The server, while acting as a gateway or proxy, did not
31             receive a timely response from the upstream server specified
32             by the URI (e.g. HTTP, FTP, LDAP) or some other auxiliary
33             server (e.g. DNS) it needed to access in attempting to
34             complete the request.
35              
36             =head1 AUTHORS
37              
38             =over 4
39              
40             =item *
41              
42             Stevan Little
43              
44             =item *
45              
46             Ricardo Signes
47              
48             =back
49              
50             =head1 COPYRIGHT AND LICENSE
51              
52             This software is copyright (c) 2011 by Infinity Interactive, Inc..
53              
54             This is free software; you can redistribute it and/or modify it under
55             the same terms as the Perl 5 programming language system itself.
56              
57             =cut
58              
59             __END__