diff --git a/platformio/package/download.py b/platformio/package/download.py index 17cc1f30eb..d8ad564869 100644 --- a/platformio/package/download.py +++ b/platformio/package/download.py @@ -34,7 +34,7 @@ def __init__(self, url, dest_dir=None): url, stream=True, ) - if self._http_response.status_code != 200: + if self._http_response.status_code not in (200, 203): raise PackageException( "Got the unrecognized status code '{0}' when downloaded {1}".format( self._http_response.status_code, url