Gunzip: proper error handling on gunzipping an empty response. With previous code, an empty (malformed) response resulted in a request finalized without sending anything to a client.