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

If both etag and last-modified are present, check if both match #569

Merged
merged 3 commits into from Sep 23, 2016

Conversation

miyagawa
Copy link
Member

@miyagawa miyagawa commented Sep 23, 2016

If both etag and last-modified are present, check if both match. cleanup for #568 by @melmothx

melmothx and others added 3 commits September 22, 2016 20:07
If both etag and last-modified are present, check if both match

From https://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.3.4

An HTTP/1.1 origin server, upon receiving a conditional request that includes
both a Last-Modified date (e.g., in an If-Modified-Since or If-Unmodified-Since
header field) and one or more entity tags (e.g., in an If-Match, If-None-Match,
or If-Range header field) as cache validators, MUST NOT return a response
status of 304 (Not Modified) unless doing so is consistent with all of the
conditional header fields in the request.
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

2 participants