Added 'type' and 'start-offset' attributes to <archive> elements.
commitb4cbd51e41da1d8852c8c7e373def4c9d177c29f
authorThomas Leonard <talex5@gmail.com>
Sat, 20 May 2006 17:55:05 +0000 (20 17:55 +0000)
committerThomas <Leonard>
Sun, 15 Jan 2006 10:34:05 +0000 (15 10:34 +0000)
treee340491839e761c86f01749bc81b931313e8c964
parenteda519644c334ae53dec63705d9d99b5722b170c
Added 'type' and 'start-offset' attributes to <archive> elements.

'type' gives the MIME type of the resource. If missing, the type is guessed
from the archive's URL (as before).
'start-offset' gives the number of bytes to skip at the beginning of the
download.
These new attributes allow some self-extracting archives to be processed,
such as autopackages.

git-svn-id: file:///home/talex/Backups/sf.net/Subversion/zero-install/trunk/0launch@911 9f8c893c-44ee-0310-b757-c8ca8341c71e
tests/Autopackage.xml [new file with mode: 0644]
tests/HelloWorld.autopackage [new file with mode: 0644]
tests/testdownload.py
zeroinstall/injector/download.py
zeroinstall/injector/iface_cache.py
zeroinstall/injector/model.py
zeroinstall/injector/policy.py
zeroinstall/injector/reader.py
zeroinstall/zerostore/__init__.py
zeroinstall/zerostore/unpack.py