Bug #11501
closedrgw: listing buckets via Swift API seems to be broken
0%
Description
Tested on master (e24509b):
$ curl -i http://localhost:8000/swift/v1/ -X GET -H "X-Auth-Token: $token"
HTTP/1.1 204 No Content
X-Timestamp: 1430311840.68982
X-Account-Container-Count: 0
X-Account-Object-Count: 0
X-Account-Bytes-Used: 0
X-Account-Bytes-Used-Actual: 0
Content-Length: 1
Accept-Ranges: bytes
Date: Wed, 29 Apr 2015 12:50:40 GMT
$ curl -i http://localhost:8000/swift/v1/cont -X PUT -H "X-Auth-Token: $token"
HTTP/1.1 201 Created
Content-Length: 0
Accept-Ranges: bytes
Date: Wed, 29 Apr 2015 12:50:56 GMT
$ curl -i http://localhost:8000/swift/v1/ -X GET -H "X-Auth-Token: $token"
HTTP/1.1 200 OK
X-Timestamp: 1430311859.43158
X-Account-Container-Count: 0
X-Account-Object-Count: 0
X-Account-Bytes-Used: 0
X-Account-Bytes-Used-Actual: 0
Content-Length: 1
Accept-Ranges: bytes
Date: Wed, 29 Apr 2015 12:50:59 GMTc