开发者

ASP.NET: HttpApplication lifecycle

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜