Before trying to make sure it is an HTML response or else it can causes errors in DELETE API responses