httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <joe+gm...@sunstarsys.com>
Subject Re: raw POST data
Date Mon, 15 Aug 2005 03:48:53 GMT
Fred Moyer <fred@taperfriendlymusic.org> writes:

> Is there a way to access the raw post data from the Perl module
> namespace?  I am specifically interested in implementing an xml parser
> and need to get the entire body and have not been able to use $req->body
> and obtain the desired results ($req->body seems to be geared towards
> handling key value pairs and it breaks on some xml attributes).

Right, apreq is probably not what you want if you're dealing with
raw xml data.  Eventually we may bundle an xml parser which implements
the WHATWG spec, but it's a single namespace key-value pairing there.

> Currently I use $r->read in a buffer loop to retrieve the raw xml
> content but was wondering if there is a better solution.

Nothing wrong with using $r->read, IMO.

-- 
Joe Schaefer


Mime
View raw message