(self, response)
return self.parse_retry_after(retry_after)
Get the value of Retry-After in seconds.
Get the value of Retry-After in seconds.
Get the value of Retry - After in seconds .
def get_retry_after(self, response):
        """ Get the value of Retry-After in seconds. """

        retry_after = response.getheader("Retry-After")

        if retry_after is None:
            return None

        return self.parse_retry_after(retry_after)
def get_retry_after ( self , response ) : retry_after = response . getheader ( "Retry-After" ) if retry_after is None : return None return self . parse_retry_after ( retry_after )