You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught exception 'HPCloud\Exception' with message 'Unknown status: 200' in /websites/Nokj.nl/vendor/hpcloud/hpcloud-php/src/HPCloud/Storage/ObjectStorage.php:433
When getting a file list (iterating over a container object)
It's easy to add a "hack" to make 200 a valid return status, but i was wondering, is this a bug or is my service returning a wrong statuscode? (I use cloudVPS)
Hello,
My apologies for the delay, I just returned from a long series of trips.
I did some research into the issue you brought up and believe that you're correct. Both 200 and 204 are valid response codes. I also noticed that when running the test suite against my HP Cloud account, various calls to the container() function work properly. I do not know much at all about cloud VPS, but I believe that you're seeing this behavior because HP Cloud and CloudVPS are likely using slightly different versions of the underlying OpenStack Object Storage service.
That said, I'll go ahead and take a look at the related code/tests and modify them. Thanks for reporting this!
I got this error:
Uncaught exception 'HPCloud\Exception' with message 'Unknown status: 200' in /websites/Nokj.nl/vendor/hpcloud/hpcloud-php/src/HPCloud/Storage/ObjectStorage.php:433
When getting a file list (iterating over a container object)
It's easy to add a "hack" to make 200 a valid return status, but i was wondering, is this a bug or is my service returning a wrong statuscode? (I use cloudVPS)
According to this document:
http://docs.openstack.org/api/openstack-object-storage/1.0/content/GET_showContainerDetails__v1__account___container__storage_container_services.html
200 can be a valid response code.
The text was updated successfully, but these errors were encountered: