Skip to content

Commit

Permalink
Update src/pip/_internal/network/session.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Feb 1, 2024
1 parent 9cf1c5e commit aa930c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pip/_internal/network/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ def __init__(
# is typically considered a transient error so we'll go ahead and
# retry it.
# A 500 may indicate transient error in Amazon S3
# A 502 may be a transient error from a CDN
# A 502 may be a transient error from a CDN like CloudFlare or CloudFront
# A 520 or 527 - may indicate transient error in CloudFlare
status_forcelist=[500, 502, 503, 520, 527],
# Add a small amount of back off between failed requests in
Expand Down

0 comments on commit aa930c4

Please sign in to comment.