pub fn is_retryable_method(method: &Method) -> boolExpand description
Whether repeating this method is safe.
POST is excluded on purpose. A retried POST /pullreq that timed out
after the server accepted it would open a second pull request — silently
doing the thing twice is worse than reporting that it might not have
happened at all. PATCH is excluded for the same reason: GitFox uses it for
partial updates, which are not guaranteed idempotent.