Using "generic" POST parser in Apache2::Request

2008-09-10 Thread Srebrenko Sehic
Hi list, I'm trying to use libapreq2/Apache2::Request to access the POST body/payload under mod_perl2. According to the docs, one can potentially use APR::Request::Parser custom/generic to achieve this. What I'm trying to do is have Apache2::Request process POST payloads with "text/xml" as Content

Re: Using "generic" POST parser in Apache2::Request

2008-09-10 Thread Ryan Gies
On Wed, 10 Sep 2008 09:07:38 +0200 Srebrenko wrote: > Hi list, > > I'm trying to use libapreq2/Apache2::Request to access the POST > body/payload under mod_perl2. According to the docs, one can > potentially use APR::Request::Parser custom/generic to achieve this. > What I'm trying to do is have

Re: Using "generic" POST parser in Apache2::Request

2008-09-10 Thread Srebrenko Sehic
On Wed, Sep 10, 2008 at 12:39 PM, Ryan Gies <[EMAIL PROTECTED]> wrote: > Hopefully someone will respond who has experience with libapreq2's hook > API. The below example (libapreq2 not used) which decodes JSON (not > XML) may provide some insight or a temporary solution. Thanks. I'm aware of th

using MOD_PERL with script causes looping

2008-09-10 Thread csross
On a solaris 8 server with Apache 2.6 and perl 5.8.8, we have an html/javascript file that uses HTTP Post to a perl script. The perl script sends data back via HTTP get to a redirected HTML file. The HTML file strips off data from the command line of the URL (suff after the "?") and then posts mo