[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to obtain the raw http content?


> Foo JH wrote:
>> Hi all,
>>
>> Can anyone point me in the right direction? I am expecting POST with
>> XML content, so the usual parser won't work...I think.

FYI, The libapreq (aka, Apache::Request) API (at least, the C API) lets
you define your own parsers.  See
http://httpd.apache.org/apreq/docs/libapreq2/apreq__parser_8h.html#562191171c5df0a83360435d0fe1a667

The Perl docs mention an APR::Request::Parser object that can be passed
to apreq, but I don't see any docs for it, and don't know the XS glue
for version 2 well enough to comment further, but if it interests you,
it might be worth looking into.

  Issac


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.