httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alistair Young" <sm0...@groupwise.uhi.ac.uk>
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
Apache\PHP\Perl!
Cheers,
Alistair


Alistair Young
Senior Applications Specialist
Sabhal Mòr Ostaig
An Teanga
Slèite
An t-Eilean Sgitheanach
Alba  IV44 8RQ
UK
Fòn:                    01471 888343
Post-dealanach: sm00ay@groupwise.uhi.ac.uk
>>> trawick@attglobal.net 10/29/02 15:15 PM >>>
"Alistair Young" <sm00ay@groupwise.uhi.ac.uk> writes:

> Hi all,
> I've just joined the list so please forgive me if this is the wrong
area
> 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 | trawick@attglobal.net
Born in Roswell... married an alien...


Mime
View raw message