line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTTP::Throwable::Role::Status::SeeOther; |
2
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:STEVAN'; |
3
|
|
|
|
|
|
|
$HTTP::Throwable::Role::Status::SeeOther::VERSION = '0.027'; |
4
|
1
|
|
|
1
|
|
690
|
use Moo::Role; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
10
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
with( |
7
|
|
|
|
|
|
|
'HTTP::Throwable', |
8
|
|
|
|
|
|
|
'HTTP::Throwable::Role::Redirect', |
9
|
|
|
|
|
|
|
'HTTP::Throwable::Role::BoringText', |
10
|
|
|
|
|
|
|
); |
11
|
|
|
|
|
|
|
|
12
|
4
|
|
|
4
|
0
|
171
|
sub default_status_code { 303 } |
13
|
4
|
|
|
4
|
0
|
18461
|
sub default_reason { 'See Other' } |
14
|
|
|
|
|
|
|
|
15
|
1
|
|
|
1
|
|
471
|
no Moo::Role; 1; |
|
1
|
|
|
|
|
23
|
|
|
1
|
|
|
|
|
6
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=pod |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=encoding UTF-8 |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 NAME |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
HTTP::Throwable::Role::Status::SeeOther - 303 See Other |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 VERSION |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
version 0.027 |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 DESCRIPTION |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
The response to the request can be found under a different URI |
32
|
|
|
|
|
|
|
and SHOULD be retrieved using a GET method on that resource. |
33
|
|
|
|
|
|
|
This method exists primarily to allow the output of a |
34
|
|
|
|
|
|
|
POST-activated script to redirect the user agent to a selected |
35
|
|
|
|
|
|
|
resource. The new URI is not a substitute reference for the |
36
|
|
|
|
|
|
|
originally requested resource. The 303 response MUST NOT be |
37
|
|
|
|
|
|
|
cached, but the response to the second (redirected) request |
38
|
|
|
|
|
|
|
might be cacheable. |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
The different URI SHOULD be given by the Location field in |
41
|
|
|
|
|
|
|
the response. Unless the request method was HEAD, the entity |
42
|
|
|
|
|
|
|
of the response SHOULD contain a short hypertext note with a |
43
|
|
|
|
|
|
|
hyperlink to the new URI(s). |
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__ |