$req
->as_string
Returns a text version of the request object as a string with \n
placed after
each line. Information about the object reference is also included in the first line.
The returned string looks like this example:
-- HTTP::Request=HASH(0x68148) -- PUT http://www.ora.com/example/hi.text Content-Length: 2 Content-Type: text/plain hi ------------------
Copyright © 2001 O'Reilly & Associates. All rights reserved.