code: 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)
docs: Get the value of Retry-After in seconds.