line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTTP::Throwable::Role::Status::MovedPermanently; |
2
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:STEVAN'; |
3
|
|
|
|
|
|
|
$HTTP::Throwable::Role::Status::MovedPermanently::VERSION = '0.027'; |
4
|
3
|
|
|
3
|
|
2114
|
use Moo::Role; |
|
3
|
|
|
|
|
14202
|
|
|
3
|
|
|
|
|
23
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
with( |
7
|
|
|
|
|
|
|
'HTTP::Throwable', |
8
|
|
|
|
|
|
|
'HTTP::Throwable::Role::Redirect', |
9
|
|
|
|
|
|
|
'HTTP::Throwable::Role::BoringText', |
10
|
|
|
|
|
|
|
); |
11
|
|
|
|
|
|
|
|
12
|
3
|
|
|
3
|
0
|
128
|
sub default_status_code { 301 } |
13
|
3
|
|
|
3
|
0
|
13560
|
sub default_reason { 'Moved Permanently' } |
14
|
|
|
|
|
|
|
|
15
|
3
|
|
|
3
|
|
1182
|
no Moo::Role; 1; |
|
3
|
|
|
|
|
7
|
|
|
3
|
|
|
|
|
15
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=pod |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=encoding UTF-8 |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 NAME |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
HTTP::Throwable::Role::Status::MovedPermanently - 301 Moved Permanently |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 VERSION |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
version 0.027 |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 DESCRIPTION |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
The requested resource has been assigned a new permanent URI and |
32
|
|
|
|
|
|
|
any future references to this resource SHOULD use one of the |
33
|
|
|
|
|
|
|
returned URIs. Clients with link editing capabilities ought to |
34
|
|
|
|
|
|
|
automatically re-link references to the Request-URI to one or more |
35
|
|
|
|
|
|
|
of the new references returned by the server, where possible. This |
36
|
|
|
|
|
|
|
response is cacheable unless indicated otherwise. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
The new permanent URI SHOULD be given by the Location field in the |
39
|
|
|
|
|
|
|
response. Unless the request method was HEAD, the entity of the |
40
|
|
|
|
|
|
|
response SHOULD contain a short hypertext note with a hyperlink to |
41
|
|
|
|
|
|
|
the new URI(s). |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 AUTHORS |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=over 4 |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=item * |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Stevan Little |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=item * |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
Ricardo Signes |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=back |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
This software is copyright (c) 2011 by Infinity Interactive, Inc. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
62
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=cut |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
__END__ |