Be careful you have configuration to avoid buffering the entire .iso file that somebody tries to copy to their DAV filesystem. And your configuration may be roll-your-own w.r.t. selecting which request objects to operate on since you may have to make your decisions before Apache has read the entire request header.
Could you perhaps please expand a bit on this?
I made two assumptions, perhaps both bogus:
a) you need to read the entire request body (POST data) before deciding what headers to add, if any
b) you'll buffer the request body in memory 'til you get to the end of it and decide what to do
b would be really bad since for a large post you'll crash the server trying to alloc so much storage, which is why you wouldn't buffer it in memory.
--
The point about roll-your-own configuration is that you can't make use of Apache <Location > and <Directory > containers to tell your module whether it should do this expensive processing on the POST data since you have to decide whether or not to do it long before Apache http engine has determined the Location and Directory information.
