Skip to content

Retrieving response body without consumption

Currently, response struct provides methods to retrieve its body: text, bytes, json. These methods consume the body, meaning that after one call, it is no longer available.

It will be usefull to have methods that return response body without changing response.