Skip to content
This repository has been archived by the owner on Mar 24, 2020. It is now read-only.

Commit

Permalink
Relaxed bag construction options (closes #24)
Browse files Browse the repository at this point in the history
The spec previously incorporated strict ordering, which has now been 
relaxed to allow bags to be assembled in whatever order is 
convenient before committing it.
  • Loading branch information
acdha committed Jul 15, 2011
1 parent 181dd6a commit 87524f5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion RESTful Bag Store.rst
Expand Up @@ -296,14 +296,18 @@ Creating a new bag
Servers *MUST* return HTTP 400 if the client has not provided
``bagit.txt`` or ``bag-info.txt``

Clients *MUST* provide the manifest files before uploading data
Clients *MUST* provide the manifest files before committing the bag but
are free to assemble the bag in any order

#. Client PUTs data files under ``contents/data/``

Servers *MUST* return HTTP 400 if the client has not provided at least
one manifest file or attempts to PUT a file which is not listed in the
manifest or fails checksum validation

Clients *MAY* use DELETE or PUT to remove or replace previously uploaded
files before committing the bag

#. Client POSTs ``commit`` to the bag location

Servers *MUST* return HTTP 400 if all of the files which are specified
Expand Down

0 comments on commit 87524f5

Please sign in to comment.