RE: Access to Apache 2 POST data?

Lloyd Richardson <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <50D1CD6517EF1941BBCC4D8C9A6DE83F221C5167A2@c3p-mail.ad.protectchildren.ca>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.