Only return response body if it was successful