Skip to content

Commit dd331eb

Browse files
committed
additional note
1 parent 6635727 commit dd331eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/_pub_shared/lib/utils/http.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ Future<K> httpGetWithRetry<K>(
5858
Duration? perRequestTimeout,
5959

6060
/// Additional retry conditions (on top of the default ones).
61+
/// Note: check for [UnexpectedStatusException] to allow non-200 response status codes.
6162
bool Function(Exception e)? retryIf,
6263
}) async {
6364
return await retry(

0 commit comments

Comments
 (0)