Skip to content

Commit

Permalink
Update comment regarding HTTP method retries (#1596)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkoenig10 authored Feb 19, 2022
1 parent b9f6b74 commit a2e4f22
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -434,9 +434,7 @@ private String channelName() {
}

/**
* We are a bit more conservative than the definition of Safe and Idempotent in https://tools.ietf
* .org/html/rfc7231#section-4.2.1, as we're not sure whether developers have written non-idempotent PUT/DELETE
* endpoints.
* See https://tools.ietf.org/html/rfc7231#section-4.2.
*/
private static boolean safeToRetry(HttpMethod httpMethod) {
switch (httpMethod) {
Expand Down

0 comments on commit a2e4f22

Please sign in to comment.