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

Replacing stored responses upon validation #463

Closed
mnot opened this issue Oct 8, 2020 · 1 comment · Fixed by #483
Closed

Replacing stored responses upon validation #463

mnot opened this issue Oct 8, 2020 · 1 comment · Fixed by #483

Comments

@mnot
Copy link
Member

mnot commented Oct 8, 2020

4.3.3 says:

A full response (i.e., one with a payload body) indicates that none of the stored responses nominated in the conditional request is suitable. Instead, the cache must use the full response to satisfy the request and may replace the stored response(s).

That "may replace the stored response(s)" is a bit odd -- which one(s)?

@mnot mnot added the caching label Oct 8, 2020
@mnot mnot self-assigned this Oct 8, 2020
@mnot
Copy link
Member Author

mnot commented Oct 20, 2020

I think this needs to be something like:

... use the full response to satisfy the request. The cache MAY store a full response, subject to its constraints ([ref to section about cacheability]).

Whether or not it replaces other responses is up to the implementation.

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