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

Allow passing resource modification date for use with If-Unmodified-Since #99

Open
escowles opened this issue Jul 18, 2018 · 0 comments

Comments

@escowles
Copy link
Contributor

If we have retrieved the content that is being updated, we set the If-Unmodified-Since header to avoid dirty writes:

But if we haven't loaded the resource (e.g., we're getting new state from a form submission), it's not set at all (but we might have the modification date from the form). We should allow passing the modification date to enable using If-Unmodified-Since in that situation.

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

No branches or pull requests

1 participant