while($r->read($buffer, 1024)) {}
Should do it.
-----Original Message-----
From: Jordan Michaels [mailto:[email protected]]
Sent: December-09-11 1:46 PM
To: [email protected]
Subject: Access to Apache 2 POST data?
I'm looking for a way to pass HTTP POST data from a POST request to a
subrequest, however, I can't find any methods in the mod_perl API that deal
with a HTTP POST request body.
Apche 1 mod_perl had $r->content, but that doesn't appear to be present in
Apache 2 mod_perl. Can anyone point me to the replacement? I'm sure I'm just
missing it.
If there's not a $r->content equivalent, maybe there's a bucket brigade
workaround or something along those lines? I just need to be pointed in the
right direction.
Thank you in advance for your help!
--
Warm Regards,
Jordan Michaels