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

Bad update behaviour with retry = 1 #129

Closed
leplatrem opened this issue May 10, 2017 · 0 comments
Closed

Bad update behaviour with retry = 1 #129

leplatrem opened this issue May 10, 2017 · 0 comments
Labels

Comments

@leplatrem
Copy link
Contributor

c = kinto_http.Client("https://kinto.dev.mozaws.net/v1", auth=("user", "pass"), bucket="test", collection="412")
client.session.nb_retry = 1
records = c.get_records()
r = records[0]
c.update_record(r)

Fails with 412 !!!

@leplatrem leplatrem added the bug label May 10, 2017
Natim added a commit that referenced this issue May 10, 2017
Fix retry behaviour when responses are successful (fixes #129)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant