Repository navigation
Conversation
ktsomani
marked this pull request as ready for review
November 16, 2026 19:13
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3470 +/- ##
=======================================
Coverage 95.78% 95.79%
=======================================
Files 100 100
Lines 6172 6181 +9
=======================================
+ Hits 5912 5921 +9
Misses 260 260
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When a retryable response includes an HTTP date in
Retry-After,Retry.handle_retry_on_status()tries to convert it to an integer and raisesValueErrorbefore retrying.Accept integer delays and HTTP dates as specified in RFC 9110 §10.2.3. Interpret dates without an explicit time zone as UTC and clamp past dates to a zero-second delay.
The four new regression cases cover all three HTTP date formats and a date in the past. They failed before the fix and passed afterward. The existing numeric-delay test still passes.
Full unit suite on Python 3.11: 724 passed, 5 skipped. Black and
git diff --checkpassed.Prepared with assistance from OpenAI Codex.