A convenience wrapper around
withResponse which reads in the
entire response body and immediately closes the connection. Note that
this function performs fully strict I/O, and only uses a lazy
ByteString in its response for memory efficiency. If you are
anticipating a large response body, you are encouraged to use
withResponse and
brRead instead.
Since 0.1.0