commit | 9163df20acecd26969bfa2e07b842f63ff2d9eaf | [log] [tgz] |
---|---|---|
author | Paul Querna <pquerna@apache.org> | Sat Nov 01 09:38:51 2014 -0700 |
committer | Paul Querna <pquerna@apache.org> | Sat Nov 01 09:38:51 2014 -0700 |
tree | 02d30717a544a3f1e407ca4d86849ed77fc3509f | |
parent | a12ba7f6cd72516dab0cf0ed0f5a6e7ef381efba [diff] |
Allow 304 from download requests
diff --git a/openstack/objectstorage/v1/objects/requests.go b/openstack/objectstorage/v1/objects/requests.go index 9778de3..5babaa0 100644 --- a/openstack/objectstorage/v1/objects/requests.go +++ b/openstack/objectstorage/v1/objects/requests.go
@@ -125,7 +125,7 @@ resp, err := perigee.Request("GET", url, perigee.Options{ MoreHeaders: h, - OkCodes: []int{200}, + OkCodes: []int{200, 304}, }) res.Body = resp.HttpResponse.Body