On Tue, 26 Nov 2002 18:52:47 +0900, Tim Bates <tim / bates.id.au> wrote:
>  
>  I know this. I was querying whether it is cgi.rb that does this for me, since 
>  I don't seem to need to do the "exit(Apache::OK) if r.header_only?" stuff.
>  

Ok, didn't mean to be rude!  :-)

1. cgi.rb is not used, so it must be some part of mod_ruby that does the
   magic (I have not checked).

2. I did some testing: output is discarded after a 
   Apache.request.send_http_header for HEAD requests, but the rest of
   the script _is_ run.  This may or may not be important to you...

regards, Tom