| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package HTTP::Throwable::Role::Status::TemporaryRedirect; |
|
2
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:STEVAN'; |
|
3
|
|
|
|
|
|
|
$HTTP::Throwable::Role::Status::TemporaryRedirect::VERSION = '0.027'; |
|
4
|
1
|
|
|
1
|
|
759
|
use Moo::Role; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
11
|
|
|
5
|
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
with( |
|
7
|
|
|
|
|
|
|
'HTTP::Throwable', |
|
8
|
|
|
|
|
|
|
'HTTP::Throwable::Role::BoringText', |
|
9
|
|
|
|
|
|
|
'HTTP::Throwable::Role::Redirect', |
|
10
|
|
|
|
|
|
|
); |
|
11
|
|
|
|
|
|
|
|
|
12
|
2
|
|
|
2
|
0
|
83
|
sub default_status_code { 307 } |
|
13
|
2
|
|
|
2
|
0
|
9152
|
sub default_reason { 'Temporary Redirect' } |
|
14
|
|
|
|
|
|
|
|
|
15
|
1
|
|
|
1
|
|
445
|
no Moo::Role; 1; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
5
|
|
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=pod |
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=encoding UTF-8 |
|
20
|
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 NAME |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
HTTP::Throwable::Role::Status::TemporaryRedirect - 307 Temporary Redirect |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 VERSION |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
version 0.027 |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
The requested resource resides temporarily under a different URI. |
|
32
|
|
|
|
|
|
|
Since the redirection MAY be altered on occasion, the client |
|
33
|
|
|
|
|
|
|
SHOULD continue to use the Request-URI for future requests. |
|
34
|
|
|
|
|
|
|
This response is only cacheable if indicated by a Cache-Control |
|
35
|
|
|
|
|
|
|
or 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), since many pre-HTTP/1.1 user agents do not |
|
41
|
|
|
|
|
|
|
understand the 307 status. Therefore, the note SHOULD contain |
|
42
|
|
|
|
|
|
|
the information necessary for a user to repeat the original |
|
43
|
|
|
|
|
|
|
request on the new URI. |
|
44
|
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 AUTHORS |
|
46
|
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=over 4 |
|
48
|
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=item * |
|
50
|
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
Stevan Little |
|
52
|
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=item * |
|
54
|
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
Ricardo Signes |
|
56
|
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=back |
|
58
|
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
This software is copyright (c) 2011 by Infinity Interactive, Inc. |
|
62
|
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
|
64
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
|
65
|
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=cut |
|
67
|
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
__END__ |