code: def retry_after(cls, response, default=5, _now=time.time):
          
          val = response.headers.getRawHeaders(b'retry-after', [default])[0]
          try:
              return int(val)
          except ValueError:
              return http.stringToDatetime(val) - _now()
docs: Parse the Retry-After value from a response.