'This method is called when the download handle has been created.
Immediately checkpoint the download and write the resume data.'

def on_download_handle_created(self, download):

    return download.checkpoint()
