httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eli Marmor <>
Subject Re: Earliest Hook to Inspect POST Params
Date Mon, 02 Aug 2004 17:53:16 GMT
Joe Schaefer wrote:
> Eli Marmor <> writes:
> > Now a more serious question:
> >
> > If I'm a (reverse) proxy, and I want to parse POST requests passing
> > through me, where is the right place to call apreq_request()?
>               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> It depends on who is asking for the parsed data.  If an output filter
> wants to use apreq, it should register a filter_init function that calls
> apreq_request().  See FAQ.pod and env/c-modules/apreq_output_filter_test
> for details.

Oops, you're right...
Silly of me...
It seems that I must follow the CVS more closely (the FAQ is quite new)

By the way, I saw somewhere a note that "there is no need to
AddInputFilter APREQ explicitly", which is very confusing in my eyes
and leads to questions like mine (without this note, I would add the
filter explicitly, and everything would work. But this note, saying
"don't worry, you should not be concerned about adding the filter
because apreq_request() does it for you", may cause people think that
there is a miracle that saves them from the need to add the filter,
which is not the case...)

Eli Marmor
CTO, Founder
Netmask (El-Mar) Internet Technologies Ltd.
Tel.:   +972-9-766-1020          8 Yad-Harutzim St.
Fax.:   +972-9-766-1314          P.O.B. 7004
Mobile: +972-50-23-7338          Kfar-Saba 44641, Israel

View raw message