Checks if a given HTTP method should be retried upon, depending if it is included in the allowed_methods rO