Skip to content

Add support for retry-after header - #12

Open
gmertes wants to merge 1 commit into
ecmwf:developfrom
gmertes:feature/retry-after-header
Open

Add support for retry-after header#12
gmertes wants to merge 1 commit into
ecmwf:developfrom
gmertes:feature/retry-after-header

Conversation

@gmertes

@gmertes gmertes commented Apr 22, 2024

Copy link
Copy Markdown
Member

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

FussyDuck commented Apr 22, 2024

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@codecov-commenter

codecov-commenter commented Mar 24, 2025

Copy link
Copy Markdown

Codecov Report

❌ 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 Harness.
📢 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