From: patrick-may@... (Patrick May) Date: 2002-09-05T10:46:02+09:00 Subject: Re: cgi redirect In my previous example, I got a little overzealous. I wanted to show off how NARF can redirect the output stream. This script: require 'narf' CGI.process() { |cgi| cgi.set_redirect( "new_location.com" ) } # will also return: Content-Type: text/html Location: new_location.com Status: 302 Set-Cookie: _session_id=e14f006c450db0a4; path= Narf borrows much from Wakou's cgi, so it should send headers correctly in mod_ruby. Still, I am concerned about the other issues: * does the extra Content-Type header matter? * does the order of the headers matter? * does the fact that status is "302" instead of "302 Moving" matter? * does the cookie for the session matter? Anyways, I appreciate any feedback. thx in advance, Patrick