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

when If-Range doesn't match, ignore Range #940

Closed
Tracked by #914
royfielding opened this issue Aug 9, 2021 · 0 comments · Fixed by #941
Closed
Tracked by #914

when If-Range doesn't match, ignore Range #940

royfielding opened this issue Aug 9, 2021 · 0 comments · Fixed by #941

Comments

@royfielding
Copy link
Member

part of #914 Section 13.2.2

    When the method is GET and both Range and If-Range are present,
    evaluate the If-Range precondition:
        if the validator matches and the Range specification is
        applicable to the selected representation, respond 206
        (Partial Content)

    Otherwise,
        all conditions are met, so perform the requested action and
        respond according to its success or failure.

I think that if the If-Range doesn't match, we're supposed to ignore the
Range header field when performing the requested action, which doesn't
seem to match up with this unadorned directive to "perform the requested
action" (which would include the Range header field).
(We might also change point (5) to use the "if true" phrasing that the
other items use in the context of evaluating the precondition.)

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

Successfully merging a pull request may close this issue.

1 participant