'Get the value of Retry-After in seconds.'

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)
