diff --git a/parfive/downloader.py b/parfive/downloader.py index cf7806c..770ab00 100644 --- a/parfive/downloader.py +++ b/parfive/downloader.py @@ -687,7 +687,7 @@ async def _http_download_worker(self, session, url, chunksize, http_range, queue resp.headers, ) - if resp.status < 200 or resp.status > 300: + if resp.status < 200 or resp.status >= 300: raise MultiPartDownloadError(resp) while True: