Reference: as_string
Author: Ellen Siever, Stephen Spainhour & Nathan Patwardhan
Date: 1999-07-02T01:57:59Z

#

| Chapter 17 The LWP Library |

## as_string

     $resp->as_string()

Returns a string version of the response with lines separated by `\n`. For example, this method would return a response string that looks like this:

>     -- HTTP::Response=HASH(0xc8548) --
>     RC: 200 (OK)
>     Message: all is fine

>     Content-Length: 2
>     Content-Type: text/plain

>     hi
>     ------------------

17.3 The HTTP Modules |  | Reference: base