[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    Re: reading text/xml data in response handler
From:       Fred Moyer <fred () redhotpenguin ! com>
Date:       2007-07-17 3:59:00
Message-ID: 1184644742.3A278FE9 () bf11 ! dngr ! org
[Download RAW message or body]

On Mon, 16 Jul 2007 8:44 pm, Praveen Ray wrote:
> How would I read the xml data sent, in a mod-perl2 response Handler?
> $r->param() wouldn't help since the Request Type is not set to
> "application/x-www-form-urlencoded"
>
> I'm thinking some way to reading raw-data using $r and then parsing it 
> myself in the Handler but can't find any example of how to read raw 
> data. Apache2::RequestRec doesn't seem to have any '$r->read' method.

See Apache2::RequestIO

http://perl.apache.org/docs/2.0/api/Apache2/RequestIO.html#C_read_
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic