-
Notifications
You must be signed in to change notification settings - Fork 42
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
Duplicative specification of precondition handling #665
Comments
|
Why not just end each first sentence with ", as defined in Section X.x of Semantics." and remove the rest? |
|
Er, never mind ... having looked at the full section, I think this should stay as is because it is refining the requirements in terms of the cache's stored responses. |
|
I think we can close this. It isn't duplicated: Semantics already refers to this section to define cache handling. |
|
Re-reading the current text, I think I'm finding it most disturbing that semantics 13.1.3 If-Modified-Since doesn't say how to evaluate the condition, whereas caching 4.3.2 does (but just for caches). I think it needs to be removed from caching and made generic. This is necessary because semantics 13.2 refers to evaluation in their algorithms. INM and if-match define how to evaluate, but IMS and IUS don't. |
It defines it near the end of the section because of the etag discussion. Anyway, we can improve that. |
|
I proposed a fix for that, but now that #669 is proposed as well, some of the text in caching is clearly duplicative. Will adjust and push another commit or two; please review. |
|
There is a larger problem here -- the section on evaluation was split into two sections (evaluation and precedence) but the conditionals only reference the first. This can be fixed by moving precedence back within evaluation with subsections for the other content in evaluation. |
|
Okay, I have updated the PR to make evaluation one section (with two subsections), fixed a few typos, made the requirements self-descriptive, and updated If-Range to be consistent as well. |
Caching 4.3.2 re-specifies precondition processing from Semantics 13.
E.g.,
[...]
Do we want to try to fold these into Semantics so that it isn't duplicated? That would require some small adjustments to Semantics AFAICT (e.g., to make it clear what the selected representation is in each case, etc.).
The text was updated successfully, but these errors were encountered: