httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kris Verbeeck <>
Subject Request body validation before content handler phase
Date Fri, 12 Sep 2003 08:54:30 GMT

I'm writing an Apache 2.0 module that has to perform some
request body validation before actually deciding which
content handler to use for response generation.  I'm wondering
what the best way is to implement this.

1) input filter is a no go, because at the moment the body
data passes through the filter, the content handler has
already been picked (and is actually pulling that data
through the input filters).  Right?

2) use the fixup stage, pull all data through the input
filters, spool the data while processing (in memory or
on disk), remove all input filters from the request
structure, insert a new filter that will eventually pass
the spooled data to the content handler

3) something else?

ir. Kris Verbeeck
Software Engineer

Ubizen - Ubicenter - Philipssite 5 - 3001 Leuven - Belgium
T:  +32 16 28 70 64
F:  +32 16 28 70 77

Ubizen - We Secure e-business -

View raw message