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

implement conditional GET #7

Open
iay opened this issue Jun 25, 2014 · 2 comments
Open

implement conditional GET #7

iay opened this issue Jun 25, 2014 · 2 comments
Assignees

Comments

@iay
Copy link
Owner

iay commented Jun 25, 2014

This is dependent on #1, as without the cache the ETag will always be different due to changes in the rendered result's validUntil and ID attributes.

@iay iay self-assigned this Jun 25, 2014
@trscavo
Copy link

trscavo commented Mar 23, 2015

Is the plan to implement a strong or weak validator?

@iay
Copy link
Owner Author

iay commented Mar 23, 2015

The current code already implements ETag value generation. You should be able to see this from the browser-readable pages. Each representation has its own ETag. They are SHA-256 hashes of the representation content, so they are strong validators. The specification doesn't require a strong validator, but it was simple enough for me to generate one.

What hasn't been implemented is the actual conditional response mechanism.

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

No branches or pull requests

2 participants