Skip to content

Support for HTTP-date in HTTP Retry-After Header (RFC9110) #7201

Description

@Raighar

According to RFC9110 (https://httpwg.org/specs/rfc9110.html#field.retry-after) the Retry-After Header supports two types of value: HTTP-date and delay-seconds.
When the field contains a http-date, the check crashes and falls back to the default of 2 seconds sleep:

.acme.sh/acme.sh: line 5875: [: Thu,20Aug202609: integer expression expected

I'd be happy to provide a pull request if you'd like.

Thanks!

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions