mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Allow HTTP 203 as successful response (#5043)
Fixes downloading library dependencies from Azure Devops repositories.
This commit is contained in:
committed by
GitHub
parent
f3c27eadf6
commit
c1afb364e9
@ -34,7 +34,7 @@ class FileDownloader:
|
||||
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
|
||||
|
Reference in New Issue
Block a user