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

Send last known etag on save to detect conflicts #201

Open
PVince81 opened this issue Aug 2, 2017 · 0 comments
Open

Send last known etag on save to detect conflicts #201

PVince81 opened this issue Aug 2, 2017 · 0 comments

Comments

@PVince81
Copy link
Contributor

PVince81 commented Aug 2, 2017

When saving the file, send the last known etag of the file at the time of the edit.

Then the server side needs to check whether the current etag matches. If yes, accept the save.
Else display a conflict dialog of some sorts ?

If the text editor were using Webdav (it's not), it would be a matter of sending an If header precondition with the PUT.

@PVince81 PVince81 added this to the backlog milestone Aug 2, 2017
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

1 participant