Abstract away the handling of the response body. So far this only works
for content length, but can be extended to the other body types of
chunked and (in the case of response) until socket close.
This also allows the same code to be used for request body handling.
Abstract away the handling of the response body. So far this only works for content length, but can be extended to the other body types of chunked and (in the case of response) until socket close.
This also allows the same code to be used for request body handling.