> -----Original Message-----
> From: Tom Mornini [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 21, 2000 3:44 PM
> To: [EMAIL PROTECTED]
> Subject: 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?

if you use Apache::RequestNotes you can have access to an Apache::Request
object throughout the entire request.  That way you can avoid direct calls
to $r->content and still have access to your POST data during translation
and logging phases.

HTH

--Geoff

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

Reply via email to