RE: r->content equivalent in Apache2

2007-05-04 Thread Adam Prime x443
http://httpd.apache.org/apreq/docs/libapreq2/group__apreq__xs__request.h tml#body $r->body in Apache2::Request (libapreq2) -Original Message- From: Carlos Ramirez [mailto:[EMAIL PROTECTED] Sent: Friday, May 04, 2007 3:00 AM To: modperl@perl.apache.org Subject: r->content equival

r->content equivalent in Apache2

2007-05-03 Thread Carlos Ramirez
I'm porting an existing mod_perl 1.x module to mod_perl 2 and I can't seem to find the equivalent to r->content in the Apache2 API? In the mod_perl 1.0 module, I currently have: my %params = $r->method eq 'POST' ? $r->content : $r->args(); but running under mod_perl 2 I get the following e