I want to be able to record the actual size of web server response bodies as I fetch things using OkHttp (for monitoring purposes).
Is there a way I can get the actual size of the response body (note - not the content-length the server claimed) without the cost of buffering the entire response into memory?