On Tue, Aug 24, 2010 at 14:56, Ray Morris <supp...@bettercgi.com> wrote: > This sounds to me like an access_checker, which should be > called from the access_checker hook. Filters, as I understand > it, are for transforming the content - compressing it, for example. > Entirely replacing the content with an unrelated document sounds > like an abuse of filters. I wonder if this might be a case of > "if all you have is a hammer ..."
Agreed, but I don't think the request body is available when the access_checker hook is run (the OP mentioned he needed to extract POST data).