Skip to content

Conversation

@gmertes
Copy link
Member

@gmertes gmertes commented Apr 22, 2024

Add support for the Retry-After header to robust. I placed it behind an optional flag respect_retry_header, so default behaviour is unchanged. It's a bit of a niche feature, but it could be useful when using robust directly in an api client.

Supports both seconds and http date format of the header.

Includes tests.

@FussyDuck
Copy link

FussyDuck commented Apr 22, 2024

CLA assistant check
All committers have signed the CLA.

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 55.55556% with 16 lines in your changes missing coverage. Please review.

Please upload report for BASE (develop@a9be1e2). Learn more about missing BASE report.

Files with missing lines Patch % Lines
multiurl/http.py 0.00% 16 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             develop      #12   +/-   ##
==========================================
  Coverage           ?   14.66%           
==========================================
  Files              ?       14           
  Lines              ?     1064           
  Branches           ?        0           
==========================================
  Hits               ?      156           
  Misses             ?      908           
  Partials           ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved-for-ci enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants