summaryrefslogtreecommitdiff
path: root/pod/perlfaq9.pod
diff options
context:
space:
mode:
authorStephen P. Potter <spp@ds.net>2000-11-17 03:55:45 -0500
committerJarkko Hietaniemi <jhi@iki.fi>2000-11-17 14:12:31 +0000
commitfd5506a077bcad1a714887ba822d57733519b964 (patch)
tree231b4bb1bb5263d8de8ec3daac9840e22a29cee4 /pod/perlfaq9.pod
parentdcff5598d11d379862aa389fb4082130cd96d697 (diff)
downloadperl-fd5506a077bcad1a714887ba822d57733519b964.tar.gz
Fix for 20000409.001
Message-Id: <200011171355.IAA05104@spotter.yi.org> p4raw-id: //depot/perl@7725
Diffstat (limited to 'pod/perlfaq9.pod')
-rw-r--r--pod/perlfaq9.pod8
1 files changed, 3 insertions, 5 deletions
diff --git a/pod/perlfaq9.pod b/pod/perlfaq9.pod
index ddc577b01f..4c701cafde 100644
--- a/pod/perlfaq9.pod
+++ b/pod/perlfaq9.pod
@@ -224,13 +224,11 @@ available from CPAN.
=head2 How do I redirect to another page?
-Instead of sending back a C<Content-Type> as the headers of your
-reply, send back a C<Location:> header. Officially this should be a
-C<URI:> header, so the CGI.pm module (available from CPAN) sends back
-both:
+According to RFC 2616, "Hypertext Transfer Protocol -- HTTP/1.1", the
+preferred method is to send a C<Location:> header instead of a
+C<Content-Type:> header:
Location: http://www.domain.com/newpage
- URI: http://www.domain.com/newpage
Note that relative URLs in these headers can cause strange effects
because of "optimizations" that servers do.