line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTTP::Throwable::Role::Status::BadGateway 0.028; |
2
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:STEVAN'; |
3
|
|
|
|
|
|
|
|
4
|
1
|
|
|
1
|
|
752
|
use Moo::Role; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
8
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
with( |
7
|
|
|
|
|
|
|
'HTTP::Throwable', |
8
|
|
|
|
|
|
|
'HTTP::Throwable::Role::BoringText', |
9
|
|
|
|
|
|
|
); |
10
|
|
|
|
|
|
|
|
11
|
2
|
|
|
2
|
0
|
96
|
sub default_status_code { 502 } |
12
|
2
|
|
|
2
|
0
|
7758
|
sub default_reason { 'Bad Gateway' } |
13
|
|
|
|
|
|
|
|
14
|
1
|
|
|
1
|
|
404
|
no Moo::Role; 1; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
5
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=pod |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=encoding UTF-8 |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 NAME |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
HTTP::Throwable::Role::Status::BadGateway - 502 Bad Gateway |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 VERSION |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
version 0.028 |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 DESCRIPTION |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
The server, while acting as a gateway or proxy, received |
31
|
|
|
|
|
|
|
an invalid response from the upstream server it accessed |
32
|
|
|
|
|
|
|
in attempting to fulfill the request. |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 PERL VERSION |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
This library should run on perls released even a long time ago. It should work |
37
|
|
|
|
|
|
|
on any version of perl released in the last five years. |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
Although it may work on older versions of perl, no guarantee is made that the |
40
|
|
|
|
|
|
|
minimum required version will not be increased. The version may be increased |
41
|
|
|
|
|
|
|
for any reason, and there is no promise that patches will be accepted to lower |
42
|
|
|
|
|
|
|
the minimum required perl. |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 AUTHORS |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=over 4 |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=item * |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
Stevan Little |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=item * |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
Ricardo Signes |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=back |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
This software is copyright (c) 2011 by Infinity Interactive, Inc. |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
63
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=cut |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
__END__ |