On Tue, 26 Nov 2002 09:54 am, Tom Danielsen wrote:
> r = Apache.request
> r.content_type = 'text/html'
> r.send_http_header
> exit(Apache::OK) if r.header_only?
> print <<END
> <html>
>  <body>
>   <h1>mod_ruby test</h1>
>  </body>
> </html>
> END

I find that I don't need the "exit(Apache::OK) if r.header_only?" stuff and it 
still gives me only the headers if I send a HEAD request. Is this stuff done 
automatically by cgi.rb? If so, could people be told about this please?

Tim Bates
-- 
tim / bates.id.au