Don't log/throw exceptions if the service returned successfully without filling the response body.
Theory is that maybe it did this intentionally, e.g. because it really just wanted to disconnect and it already dealt with any errors. The client should notice the stream ending prematurely so it should be possible for the developer to see the problem from the client side.
Showing
Please
register
or
sign in
to comment