httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alistair Young" <>
Subject Re: low level design
Date Wed, 30 Oct 2002 10:46:44 GMT
Hi all,
I have a request to the Apache dev people regarding POST data from a
client browser. I'm sure that getting data off the wire more than once
is out but I ran ngrep while submitting a form to my module and I
noticed that the entire page is sent to the server.
i.e. the incoming packets contained the HTTP headers (which Apache
stores) and the form variables (which it doesn't seem to store) - to get
them you need to call ap_should_client_block(), which seems a waste as
the data has already come over the wire to Apache with the original
request headers.
If the form variables are coming in anyway, at the same time as the
request headers, does anyone know if Apache stores the form variables in
some undocumented table somewhere?
If I can get access to the form variables at the header_handler phase
then we'll be cooking with gas and the semantic web will come to

Alistair Young
Senior Applications Specialist
Sabhal Mòr Ostaig
An Teanga
An t-Eilean Sgitheanach
Alba  IV44 8RQ
Fòn:                    01471 888343
>>> 10/29/02 15:15 PM >>>
"Alistair Young" <> writes:

> Hi all,
> I've just joined the list so please forgive me if this is the wrong
> for this. I would like to find out if it's possible to call
> ap_should_client_block / ap_get_client_block more than once between
> modules. I'm working on mod_sw (semantic web) and need to access form
> data in the body of the request but also leave it intact for other
> modules (PHP etc.) to use.

ap_get_client_block() consumes the data.

If your module needs to see the data that would be consumed by some
other module, you can use an input filter (Apache 2.0).

Jeff Trawick |
Born in Roswell... married an alien...

View raw message