Forum Discussion
hooleylist
Oct 03, 2011Cirrostratus
As Nitass said, HTTP_RESPONSE is triggered when the HTTP response headers from the pool member are parsed. The stream filter is applied after this event. The response headers have already been unbuffered and sent to the client by STREAM_MATCHED.
If you want to modify the headers based on the response payload, you'll need to have TMM buffer the response using HTTP::collect.
http://devcentral.f5.com/wiki/iRules.http__collect.ashx
Aaron