dropbox / dropbox/dropbox-sdk-java

SDK Should wrap HTTP 504 Gateway Timeout into RetryException

Offen
#550 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
627
Forks
463
Ø Merge
5 Min.
Gemergte PRs (30 T.)
10

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.