ben lowery

HttpResponse.Filter Fun

May 29 2003

Stuff I learned about HttpResponse filters and the ASP.NET pipeline today:

  • Calling Server.Transfer or Response.End will kill the Filter. Anything that calls Response.End() or
  • Server.Execute passes code through the filter just fine
  • PreSendRequestHeaders and PreSendRequestContent don’t seem to fire unless you call HttpResponse.Flush()
  • Fulfilling from the OutputCache causes all the events between AuthorizeRequest and EndRequest to not fire

Related posts:

  1. Crack
  2. One-off spam
  3. HttpCompress v6 is out
  4. New HttpCompressionModule (now HttpCompress) out!

Leave a Reply