Graham Leggett wrote:
Joe Orton wrote:
The entire request body passes through the input filter stack when it
is being discarded. So an input filter inserted by a module can
capture and buffer it somewhere very easily; and can provide access to
that buffered copy however it likes, without needing to modify
request_rec.
In practise it is not that simple[1].
If mod_include had its own kept_body filter, it would not take into
account the magic that mod_auth_form performs to keep the contents of
the end user's form from being lost.
In other words, modules need to cooperate with one another to make this
work effectively, and that means common code.
So where does this common code go?
apreq handles this.
import apreq to turnk.
IMO.
-Paul