This is a frequently asked question about IIS6 extensibility - how to access the request entity body on the way in - as well as how to configure IIS.
I want to catch all incoming requests, add some header and watch it when its out. Therefore I used a filter which can't be use alone in IIS 6 cause of the post data and so I added the wildcards. I'm using the same DLL for both.
Since I'm interested in all incoming requests I thought its best to define a global filter and ScriptMap.
What do you think ?
I am just going to give the logical answers now. At the moment, I am a little short on time, so I cannot post code samples showing how to do this with ISAPI Filter and Extension (yes, I write and test my code before publishing it publicly - you guys do want functional and correct code samples, not merely code I whipped together on the side, right? ;-) ). However, if you really want the code samples, you can ask via blog entry comments for the code sample, and I will see what I can do and link it in...
There are two ways to access request entity body with ISAPI on IIS6: