In an HttpModule, I'd like to intercept the Response after the HttpResponse.Headers collection has been set but before the body of the Response has been added to the Response Stream. Would this be on the HttpContext.开发者_StackOverflowCurrent.PreSendRequestContent event?
No, it would be HttpApplication.PreSendRequestHeaders and there might be content already in the Response stream (even the entire body) waiting to be sent after the headers.
精彩评论