-
-
Notifications
You must be signed in to change notification settings - Fork 729
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
retrying of non-idempotent methods #777
Comments
@F7502 Thanks for reporting it. |
Sounds good, many thanks for taking this up! |
jeevatkm
added a commit
that referenced
this issue
Oct 27, 2024
jeevatkm
added a commit
that referenced
this issue
Oct 27, 2024
jeevatkm
added a commit
that referenced
this issue
Oct 27, 2024
jeevatkm
added a commit
that referenced
this issue
Oct 28, 2024
jeevatkm
added a commit
that referenced
this issue
Oct 28, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We realized that
resty
is retrying any HTTP method, even non-idempotent ones. However, this is very unexpected and conflicts with the HTTP specification:https://datatracker.ietf.org/doc/html/rfc7231#section-4.2.2
In our case it was a
POST
request that was retried and this then caused problems in our system.Ideally,
resty
should change its default behavior to comply with the HTTP specification and only retry idempotent methods.For now, we managed to achieve the same using a custom retry condition:
The text was updated successfully, but these errors were encountered: