2GDave
2GDave

Reputation: 996

How can I get the http response body before sending to the browser?

Is there any way I can get the body of a Response object back before it's sent down to the browser?

I'd like to do something on Page_LoadComplete to get the current response of what's about to be written to the page so I can do something with it.

Upvotes: 1

Views: 758

Answers (2)

Simon Chadwick
Simon Chadwick

Reputation: 1148

Fiddler is your friend.

Upvotes: 1

John Saunders
John Saunders

Reputation: 161821

Look at the Response.Filter property.

Upvotes: 2

Related Questions