Skip to content

Commit

Permalink
Allow HTTP 203 as successful response (#5043)
Browse files Browse the repository at this point in the history
Fixes downloading library dependencies from Azure Devops repositories.
  • Loading branch information
maxgerhardt authored Dec 9, 2024
1 parent f3c27ea commit c1afb36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platformio/package/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c1afb36

Please sign in to comment.