From fd5506a077bcad1a714887ba822d57733519b964 Mon Sep 17 00:00:00 2001 From: "Stephen P. Potter" Date: Fri, 17 Nov 2000 03:55:45 -0500 Subject: [PATCH] Fix for 20000409.001 Message-Id: <200011171355.IAA05104@spotter.yi.org> p4raw-id: //depot/perl@7725 --- pod/perlfaq9.pod | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pod/perlfaq9.pod b/pod/perlfaq9.pod index ddc577b..4c701ca 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 as the headers of your -reply, send back a C header. Officially this should be a -C 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 header instead of a +C 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. -- 2.7.4