(self,
                 progress_callback: Optional[constants.ProgressCallback] = None,
                 context: Optional[ssl.SSLContext] = None)
Creates a resource accessor.

        Note: context is an SSL context, not a volatility context
Creates a resource accessor.
Creates a resource accessor .
def __init__(self,
                 progress_callback: Optional[constants.ProgressCallback] = None,
                 context: Optional[ssl.SSLContext] = None) -> None:
        """Creates a resource accessor.

        Note: context is an SSL context, not a volatility context
        """
        self._progress_callback = progress_callback
        self._context = context
        self._handlers = list(framework.class_subclasses(urllib.request.BaseHandler))
        if self.list_handlers:
            vollog.log(constants.LOGLEVEL_VVV,
                       "Available URL handlers: {}".format(", ".join([x.__name__ for x in self._handlers])))
            self.__class__.list_handlers = False
def __init__ ( self , progress_callback : Optional [ constants . ProgressCallback ] = None , context : Optional [ ssl . SSLContext ] = None ) -> None : self . _progress_callback = progress_callback self . _context = context self . _handlers = list ( framework . class_subclasses ( urllib . request . BaseHandler ) ) if self . list_handlers : vollog . log ( constants . LOGLEVEL_VVV , "Available URL handlers: {}" . format ( ", " . join ( [ x . __name__ for x in self . _handlers ] ) ) ) self . __class__ . list_handlers = False