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

Parse Retry-After header responses that include decimal points #980

Merged
merged 1 commit into from
May 28, 2019

Commits on May 27, 2019

  1. Parse Retry-After header responses that include decimal points

    rfc7231 section 7.1.3 states that the Retry-After header can return delay-seconds value
    that is a non-negative decimal integer, representing time in seconds.
    
    Some servers return the second delay with a decimal point.  Eg instead of 2 they return 2.0
    This patch handles this case where the server has included a decimal point in their response.
    rdwallis committed May 27, 2019
    Configuration menu
    Copy the full SHA
    da3dda0 View commit details
    Browse the repository at this point in the history