In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Brett W. McCoy) wrote:
> On Wed, 10 Oct 2001, Michael Kelly wrote: > > > print "Content-type: text/html\n"; > > print "Location: http://www.mysite.com/page.html\n\n"; > This is incorrect also, because the "Location: ...\n\n" is an http header > and should not be used after a Content-type header is sent to the browser. > It should be used as the only header. i mentioned this before, but perhaps you mean something else. Location, as an HTTP header, should also include a Content-type header and a brief message body. people who say Content-type and Location don't go together simply haven't read the HTTP specification. furthermore, the ordering of header fields is irrelevant. -- brian d foy <[EMAIL PROTECTED]> - Perl services for hire CGI Meta FAQ - http://www.perl.org/CGI_MetaFAQ.html Troubleshooting CGI scripts - http://www.perl.org/troubleshooting_CGI.html -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]