stas 2003/03/19 20:32:03
Modified: src/docs/2.0/user/handlers filters.pod Log: add a few more important notes, that later should be reworked into concepts. thanks to Ian Holsman for these. Revision Changes Path 1.23 +13 -3 modperl-docs/src/docs/2.0/user/handlers/filters.pod Index: filters.pod =================================================================== RCS file: /home/cvs/modperl-docs/src/docs/2.0/user/handlers/filters.pod,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- filters.pod 18 Mar 2003 23:32:11 -0000 1.22 +++ filters.pod 20 Mar 2003 04:32:03 -0000 1.23 @@ -1613,12 +1613,16 @@ [ HTTP request output filters should probably also unset the C-L header, -if the filter will changes the size of the data that goes through -it. (e.g. lc() filter shouldn't do it). However need to check if -Apache core output filters don't do that already. +if they change the size of the data that goes through it. (e.g. lc() +filter shouldn't do it). However need to check if Apache core output +filters don't do that already. $filter->r->headers_out->unset('Content-Length'); +Same goes for last-modified/etags, which may need to be unset, "vary" +might need to be added if you want caching to work properly (depending +on what your filter does. + ] [ @@ -1632,6 +1636,12 @@ Also it looks like we need to $b-E<gt>destroy (need to add the API) in addition to $b-E<gt>remove. Which can be done in one stroke using $b-E<gt>delete (need to add the API). + +] + +[ + +Mention mod_bucketeer as filter debugging tool (in addition to FilterSnoop) ]