handle response with empty body