Package zeroinstall :: Package injector :: Module download
[frames] | no frames]

Module download

source code

Handles URL downloads.

This is the low-level interface for downloading interfaces, implementations, icons, etc.


See Also: fetch higher-level API for downloads that uses this module

Classes
  DownloadError
Download process failed.
  DownloadAborted
Download aborted because of a call to Download.abort
  Download
A download of a single resource to a temporary file.
Variables
  download_starting = "starting"
  download_fetching = "fetching"
  download_complete = "complete"
  download_failed = "failed"
  RESULT_OK = 0
  RESULT_FAILED = 1
  RESULT_NOT_MODIFIED = 2
  RESULT_REDIRECT = 3