ok, I think I've decided that ignoring errors from :server or :args_how isn't a good idea - it's better to have that blow up on a user than have an unresolved error later on.
so, if we're not supporting everything right now, this is probably a better patch.
--- lib/Apache/compat.pm 30 Aug 2003 02:33:26 -0000 1.88 +++ lib/Apache/compat.pm 21 Oct 2003 17:57:07 -0000 @@ -148,7 +148,15 @@ sub import { my $class = shift; my $package = scalar caller; - Apache::Const->compile($package => @_); + + my @args = @_; + + # treat :response as :common - it's not perfect + # (and we may import :common twice), but it's + # simple and close enough for the majority + @args = map { s/:response/:common/; $_ } @args; + + Apache::Const->compile($package => @args); }
#no need to support in 2.0
--Geoff