dropbox / dropbox/dropbox-sdk-java

SDK Should wrap HTTP 504 Gateway Timeout into RetryException

未关闭
#550 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
627
派生
463
平均合并
5 分钟
30 天内合并 PR
10

描述

The `DbxClientV2` request configuration supports automatic retries on transient errors, such as due to rate limiting.

Sometimes Dropbox API returns an error `HTTP 504 Gateway Timeout`. This will fail the request with `BadResponseCodeException` .

It would make sense to interpret `HTTP 504` also as a transient error, and support optional automatic retries.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。