You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Tom Mornini <tm...@infomania.com> on 2000/06/21 17:51:32 UTC

How to log post and put contents?

I'm attempting to write a real-world traffic recorder for volume testing
and QAing our site

In a URI trans handler I'm getting the complete request via
$r->the_request and headers via $r->headers_in.

The content is proving to be evasive, however! $r->content is clearly
documented to be callable only once. $r->read doesn't mention this, but
when I use it, the rest of the site won't operate, handing in the created
of a new Apache::Request object.

Any ideas?

-- 
-- Tom Mornini
-- InfoMania Printing and Prepress