Fix retry on gateway timeout (#306) (#398)
Fix retry on gateway timeout (#306) (#398)

* It looks like ApiException doesn't always store the HttpStatus code in .status
   in some cases it will be stored in the body
kubeflow/testing,kubeflow/testing,kubeflow/testing,kubeflow/testing,kubeflow/testing