I have an HttpModule where I lookup the content type and then apply some filters to the response. There are some instances where I don't want to apply one of these filters but that isn't determined until the page_load ev开发者_如何学运维ent later on. Is there any way to remove a filter??
...I think the answer is, No...
This should work:
Response.Filter = null;
It removes all filters, not just one, but worked for me.
精彩评论