line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTTP::Throwable::Role::Status::Found 0.028; |
2
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:STEVAN'; |
3
|
|
|
|
|
|
|
|
4
|
1
|
|
|
1
|
|
680
|
use Moo::Role; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
9
|
|
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 { 302 } |
13
|
2
|
|
|
2
|
0
|
8774
|
sub default_reason { 'Found' } |
14
|
|
|
|
|
|
|
|
15
|
1
|
|
|
1
|
|
440
|
no Moo::Role; 1; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
4
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=pod |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=encoding UTF-8 |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 NAME |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
HTTP::Throwable::Role::Status::Found - 302 Found |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 VERSION |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
version 0.028 |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 DESCRIPTION |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
The requested resource resides temporarily under a different URI. |
32
|
|
|
|
|
|
|
Since the redirection might be altered on occasion, the client |
33
|
|
|
|
|
|
|
SHOULD continue to use the Request-URI for future requests. This |
34
|
|
|
|
|
|
|
response is only cacheable if indicated by a Cache-Control or |
35
|
|
|
|
|
|
|
Expires header field. |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
The temporary URI SHOULD be given by the Location field in the |
38
|
|
|
|
|
|
|
response. Unless the request method was HEAD, the entity of the |
39
|
|
|
|
|
|
|
response SHOULD contain a short hypertext note with a hyperlink |
40
|
|
|
|
|
|
|
to the new URI(s). |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 PERL VERSION |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
This library should run on perls released even a long time ago. It should work |
45
|
|
|
|
|
|
|
on any version of perl released in the last five years. |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
Although it may work on older versions of perl, no guarantee is made that the |
48
|
|
|
|
|
|
|
minimum required version will not be increased. The version may be increased |
49
|
|
|
|
|
|
|
for any reason, and there is no promise that patches will be accepted to lower |
50
|
|
|
|
|
|
|
the minimum required perl. |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head2 location |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
This is a required string, which will be used in the Location header |
57
|
|
|
|
|
|
|
when creating a PSGI response. |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head1 AUTHORS |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=over 4 |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=item * |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
Stevan Little |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=item * |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
Ricardo Signes |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=back |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
This software is copyright (c) 2011 by Infinity Interactive, Inc. |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
78
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=cut |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
__END__ |