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

Update 404 handling behavior and processing of remote delete change #103

Open
chengfred opened this issue Apr 24, 2014 · 1 comment
Open

Comments

@chengfred
Copy link

Simperium/simperium-protocol@6dd630f updates the behavior for handling a 404, more details in the commit.

Same issue for iOS library: Simperium/simperium-ios#258

@chengfred
Copy link
Author

from iOS issue:
Expected Behavior:

  1. Ignore remote deletion messages, when the object has local pending changes
  2. When error 404 is received, retry posting the full object.

Clarification:
When doing #2 ( retry posting full object (by sending data in d)), remove sv field from change. Reason is: As server has already responded that this object no longer exists (404), specifying sv doesn't make sense anymore.

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