diff options
author | Urban Müller | 2025-10-03 15:55:56 +0200 |
---|---|---|
committer | Urban Müller | 2025-10-03 15:55:56 +0200 |
commit | 781279e5e031ded28b83706fae16f358b43962d9 (patch) | |
tree | 9cf83cf9da227adee4e77714a68419f318550cfe /it_url.class | |
parent | 76f18b1cf62d04ae335a476ae241499f24b73fdc (diff) | |
download | itools-781279e5e031ded28b83706fae16f358b43962d9.tar.gz itools-781279e5e031ded28b83706fae16f358b43962d9.tar.bz2 itools-781279e5e031ded28b83706fae16f358b43962d9.zip |
Diffstat (limited to 'it_url.class')
-rw-r--r-- | it_url.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class index 4d4175f..e5b284c 100644 --- a/it_url.class +++ b/it_url.class @@ -170,7 +170,7 @@ function _get($p = []) static function retry_warranted($result, $status) { - return $result ? it::match(self::$forceretry, $status) : !it::match('^(204|4..)$', $status); + return $result || $result === [] ? it::match(self::$forceretry, $status) : !it::match('^(204|4..)$', $status); } function parse_http_header($header) |