'Callback when a download is cancelled by the user.
Args:
url: The original url of the asset as QUrl.
item: The DownloadItem given by the DownloadManager.'

def _cancelled(self, url, item):

    log.downloads.debug('MHTML    download    cancelled    by    user:    {}'.format(url))
    item.fileobj.seek(0)
    item.fileobj.truncate()
