> -----Original Message-----
> From: Jean-Michel Hiver [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 27, 2001 9:02 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Apache::Registry HTTP HEAD "feature" fix ;-)
>
>
> > this should work for scripts that only use print() (without
> the patch I sent
> > yesterday :)
>
> Looks neat! I'll make sure I'll take a close look at that :-)
> Cheers,
BTW, I think I figured out why your redirect to /dev/null was working...
CGI.pm can tell if it is running under mod_perl and sets its header()
routine to add the headers to the outgoing header table using mod_perl
methods. thus, the headers go directly to the client while the content
stays put. however, if you don't use CGI.pm your old solution doesn't
work...
anyway, I haven't stressed the solution I just posted too much, but I did
test both CGI.pm and non-CGI.pm cases with multiple print statements and it
seems to work ok... time will tell :)
HTH
--Geoff