Re: Access to Request Body

2008-04-29 Thread Torsten Foertsch
On Mon 28 Apr 2008, Tim Gustafson wrote: > I'm writing a mod_perl logging module, and I can't seem to find anywhere in > the documentation that talks about how I can access the request body > (basically, the POST data) of a request during the logging phase.  Is this > not possible? It is but you'd

RE: Access to Request Body

2008-04-28 Thread adam . prime
Quoting Tim Gustafson <[EMAIL PROTECTED]>: Hrmm, that doesn't seem to work. In my code, I have: print $fh $r->body . "\n"; And in my error log, I get: Can't locate object method "body" via package "Apache2::RequestRec" at /var/www/lib/Log.pm line 31. It's part of Apache2::Request, see the

RE: Access to Request Body

2008-04-28 Thread Tim Gustafson
Santa Cruz [EMAIL PROTECTED] (831) 459-5354 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, April 28, 2008 1:47 PM To: modperl@perl.apache.org Subject: Re: Access to Request Body Quoting Tim Gustafson <[EMAIL PROTECTED]>: > Hello, > > I

Re: Access to Request Body

2008-04-28 Thread adam . prime
Quoting Tim Gustafson <[EMAIL PROTECTED]>: Hello, I'm writing a mod_perl logging module, and I can't seem to find anywhere in the documentation that talks about how I can access the request body (basically, the POST data) of a request during the logging phase. Is this not possible? do you wa