HTTP_DOWNLOAD2_ATTACHMENT = 'attachment'
Send data as attachment
HTTP_DOWNLOAD2_INLINE = 'inline'
Send data inline
HTTP_DOWNLOAD2_TAR = 'TAR'
Send as uncompressed tar archive
HTTP_DOWNLOAD2_TGZ = 'TGZ'
Send as gzipped tar archive
HTTP_DOWNLOAD2_BZ2 = 'BZ2'
Send as bzip2 compressed tar archive
HTTP_DOWNLOAD2_ZIP = 'ZIP'
Send as zip archive
HTTP_DOWNLOAD2_E_HEADERS_SENT = -1
HTTP_DOWNLOAD2_E_NO_EXT_ZLIB = -2
HTTP_DOWNLOAD2_E_NO_EXT_MMAGIC = -3
HTTP_DOWNLOAD2_E_INVALID_FILE = -4
HTTP_DOWNLOAD2_E_INVALID_PARAM = -5
HTTP_DOWNLOAD2_E_INVALID_RESOURCE = -6
HTTP_DOWNLOAD2_E_INVALID_REQUEST = -7
HTTP_DOWNLOAD2_E_INVALID_CONTENT_TYPE = -8
HTTP_DOWNLOAD2_E_INVALID_ARCHIVE_TYPE = -9