code: def _create_http_basic_session(self, username, password, timeout=None):
          
          verify = self._options['verify']
          self._session = ResilientSession(timeout=timeout)
          self._session.verify = verify
          self._session.auth = (username, password)
          self._session.cert = self._options['client_cert']
docs: Creates a basic http session.
  
          :param username: Username for the session
          :type username: str
          :param password: Password for the username
          :type password: str
          :param timeout: If set determines the timeout period for the Session.
          :type timeout: Optional[int]
  
          :rtype: NoReturn