def download_request(self, request, spider):
    scheme = urlparse_cached(request).scheme
    handler = self._get_handler(scheme)
    if (not handler):
        raise NotSupported(f"Unsupported URL scheme '{scheme}': {self._notconfigured[scheme]}")
    return handler.download_request(request, spider)
def download_request(self, request, spider):
    scheme = urlparse_cached(request).scheme
    handler = self._get_handler(scheme)
    if (not handler):
        raise NotSupported(f"Unsupported URL scheme '{scheme}': {self._notconfigured[scheme]}")
    return handler.download_request(request, spider)