datacratic/soa — pull request #86 by FinchPowers (2014-05-29 14:26:03+00:00)
Title: Inner change to have less expensive API calls.

Changes the default inner call to S3 used by getObjectInfo and tryGetObjectInfo to use a GET query rather than a LIST query. GET queries are 8% of the cost of LIST queries. However they don't provide OwnerId, OwnerName nor StorageClass. Consumers who still need those should set the new fullInfo parameter to true, which will make a LIST call in order to get all of the info. As a side change, the download call no longer pre-checks if the storage class is glacier in order to throw an exception. An exception will still be thrown as the S3 api return an error code which raises an exception.