Swift URLs with container and blob name take these forms:
https://region-a.geo-1.objects.hpcloudsvc.com/v1/account/container/blob
https://objects.dreamhost.com/swift/v1/container/blob
ParseSwiftErrorFromHttpResponse is too specific in this case; instead
interpret 404 errors directly via FalseOn404.
You can merge this Pull Request by running:
git pull https://github.com/maginatics/jclouds
dreamobjects-swift-blob-container-exits
Or you can view, comment on it, or merge it online at:
https://github.com/jclouds/jclouds/pull/165
-- Commit Summary --
* Support exists checks with DreamObjects Swift API
-- File Changes --
M
apis/swift/src/main/java/org/jclouds/openstack/swift/CommonSwiftAsyncClient.java
(6)
M blobstore/src/main/java/org/jclouds/blobstore/BlobStoreFallbacks.java (12)
-- Patch Links --
https://github.com/jclouds/jclouds/pull/165.patch
https://github.com/jclouds/jclouds/pull/165.diff