Bug #10684
closedRGW swift API: Response returned by GET request on account does not contain few headers.
0%
Description
Response header does not contain following headers:
x-account-bytes-used
x-account-container-count
x-account-object-count
x-timestamp
content-length
x-trans-id
Steps to reproduce:
1. curl -i "https://10.20.20.15:80/swift/v1" -X GET -H "x-auth-token: 19aacea65f034c4eb1b17b79875313b3"
HTTP/1.1 200 OK
Date: Thu, 29 Jan 2015 08:35:55 GMT
Server: Apache/2.4.7 (Ubuntu)
Vary: Accept-Encoding
Content-Type: application/octet-stream
Connection: close
Transfer-Encoding: chunked
Response returned by swift for GET request on account:
curl -i http://10.0.2.15:8080/v1/AUTH_b2419ea9588d49ddbd8c006b5eb199ff -X GET -H "X-Auth-Token: 016649e57fdf4c26998d5a68f5ef214d"
HTTP/1.1 204 No Content
Content-Length: 0
X-Account-Object-Count: 4
X-Account-Storage-Policy-Policy-0-Bytes-Used: 1048582
X-Account-Storage-Policy-Policy-0-Container-Count: 5
X-Timestamp: 1419480678.41198
X-Account-Storage-Policy-Policy-0-Object-Count: 4
X-Account-Meta-Temp-Url-Key: secret
X-Account-Bytes-Used: 1048582
X-Account-Container-Count: 5
Content-Type: text/plain; charset=utf-8
Accept-Ranges: bytes
x-account-project-domain-id: default
X-Trans-Id: txec9ba5c0473d400ebda67-0054c8b8a5
Date: Wed, 28 Jan 2015 10:23:33 GMT
Updated by Abhishek Lekshmanan over 8 years ago
- Status changed from New to Resolved
- Regression set to No
Should be fixed with https://github.com/ceph/ceph/pull/3612