Introduction
  CGI and SSI
  <pike> tag
  Pike script
  Modules
  Parser modules
  Location modules
  Other module types
    Authentification
    Directory
    Extension
    File extension
    Filter
    First
    Last
    Log
    Provider
    URL
  Request information object
  Responses
  Library methods
 
Filter

Filter modules are called for every request, just before the request leaves Challenger. The module type constant is MODULE_FILTER.

mixed filter( mapping response, object id )
The response argument contains the response Challenger were about to send to the browser, id contains the request information object. If the filter module returns zero the original response will be sent. If the filter module returns something else, that response will be sent to the browser instead.