(self, method)
return True
Checks if a given HTTP method should be retried upon, depending if
        it is included on the method whitelist.
Checks if a given HTTP method should be retried upon, depending if
        it is included on the method whitelist.
Checks if a given HTTP method should be retried upon depending if it is included on the method whitelist .
def _is_method_retryable(self, method):
        """ Checks if a given HTTP method should be retried upon, depending if
        it is included on the method whitelist.
        """
        if self.method_whitelist and method.upper() not in self.method_whitelist:
            return False

        return True
def _is_method_retryable ( self , method ) : if self . method_whitelist and method . upper ( ) not in self . method_whitelist : return False return True