dumpResponse
suspend fun dumpResponse(response: HttpResponse, dumpBody: Boolean): <Error class: unknown class><HttpResponse, String>
Dump a debug description of the response. Either the original response or a copy will be returned to the caller depending on if the body is consumed.
Parameters
dumpBody
Flag controlling whether to also dump the body out. If true the body will be consumed and replaced.