| 10/38 |
© 2004 by Philippe "BooK" Bruhat.
|
Filters are activated according to certain criteria:
Request
method
scheme
host
path
query-string
Response
All of the above
MIME type (text/*, etc.)
The push_filter() method is using these criteria to create a
"match subroutine". A filter stack is actually a stack of
[ $match_sub, $filter ] pairs.
The match subroutine is used to create the actual list of filters that will act on the HTTP messages.