Is there an event in the request pipeline where both Request and Response are available and populated?
-
19-08-2019 - |
Question
I need to bind to an event in the request pipeline where both the Request and Response are populated. The Request is simple, but I need the StatusCode off the Response object. At what point in the pipeline is the Response populated?
Solution
Take a look at this page under the "The request is processed by the HttpApplication pipeline" section. The "EndRequest" event should have what you need.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow