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

Remove fractional seconds from http-date #1847

Merged
merged 1 commit into from
Jul 7, 2023

Commits on Jul 6, 2023

  1. Remove fractional seconds from http-date

    The description of http-date previously stated that implementations
    MUST support fractional seconds. However, fractional seconds are not
    permitted by the imf-fixdate grammar. The original intent of this
    wording in the specification was that clients can gracefully handle
    parsing these timestamps with fractional precision, but not send
    fractional precision to avoid client/server incompatibilities.
    However, this caused confusion in implementations, and when clients
    send http-date timestamps with optional fractional precision, some
    servers, including S3, cannot parse the timestamp.
    
    To avoid these issues altogether, this commit removes any kind of
    specification and protocol test for handling optional fractional
    seconds with `http-date` timestamps.
    mtdowling committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    f805f08 View commit details
    Browse the repository at this point in the history