code: def mount_http_adapter(self, protocol=None, max_retries=None,
                             status_forcelist=None, host=None):
          
          protocol = protocol if protocol else self.protocol
          host = host if host else 'archive.org'
          if max_retries is None:
              max_retries = self.http_adapter_kwargs.get('max_retries', 3)
  
          if not status_forcelist:
              status_forcelist = [500, 501, 502, 503, 504]
          if max_retries and isinstance(max_retries, (int, float)):
              max_retries = Retry(total=max_retries,
                                  connect=max_retries,
                                  read=max_retries,
                                  redirect=False,
                                  method_whitelist=Retry.DEFAULT_METHOD_WHITELIST,
                                  status_forcelist=status_forcelist,
                                  backoff_factor=1)
          self.http_adapter_kwargs['max_retries'] = max_retries
          max_retries_adapter = HTTPAdapter(**self.http_adapter_kwargs)
          # Don't mount on s3.us.archive.org, only archive.org!
          # IA-S3 requires a more complicated retry workflow.
          self.mount('{0}//{1}'.format(protocol, host), max_retries_adapter)
docs: Mount an HTTP adapter to the
          :class:`ArchiveSession <ArchiveSession>` object.
  
          :type protocol: str
          :param protocol: HTTP protocol to mount your adapter to (e.g. 'https://').
  
          :type max_retries: int, object
          :param max_retries: The number of times to retry a failed request.
                              This can also be an `urllib3.Retry` object.
  
          :type status_forcelist: list
          :param status_forcelist: A list of status codes (as int's) to retry on.
  
          :type host: str
          :param host: The host to mount your adapter to.