Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle where 503 returns a date rather than a int #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ajtag
Copy link

@ajtag ajtag commented Feb 5, 2019

as the title suggests, the http spec says that a retry-after header can be a date of format... or an int.
in the wild I am getting date values returned,

so this is a bug report/ first crack at writing some code that fixes the issue,

it has been written in the github editor and yet to be tested, so although the syntax highlighter looks good, quality may be variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant