We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6635727 commit dd331ebCopy full SHA for dd331eb
pkg/_pub_shared/lib/utils/http.dart
@@ -58,6 +58,7 @@ Future<K> httpGetWithRetry<K>(
58
Duration? perRequestTimeout,
59
60
/// Additional retry conditions (on top of the default ones).
61
+ /// Note: check for [UnexpectedStatusException] to allow non-200 response status codes.
62
bool Function(Exception e)? retryIf,
63
}) async {
64
return await retry(
0 commit comments