Bug #12158
closedRGW Swift API: response for GET on Swift account doesn't contain mandatory Content-Length header
0%
Description
1. RGW via FCGI frontend:
$ curl -i ${publicURL}/ -X GET -H "X-Auth-Token: ${token}"
HTTP/1.1 200 OK
Server: nginx/1.4.6 (Ubuntu)
Date: Thu, 25 Jun 2015 15:18:50 GMT
Content-Type: text/plain; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
X-Timestamp: 1435245530.12126
X-Account-Container-Count: 4
X-Account-Object-Count: 0
X-Account-Bytes-Used: 0
X-Account-Bytes-Used-Actual: 0
X-Trans-Id: ts-default.4122.10-20150625:151850:114aaaa10
cont10
cont12
cont15
2. Swift:
$ curl -i ${publicURL}/ -X GET -H "X-Auth-Token: ${token}"
HTTP/1.1 200 OK
Content-Length: 5
Accept-Ranges: bytes
X-Account-Object-Count: 1
X-Timestamp: 1430929360.01528
X-Account-Bytes-Used: 0
X-Account-Container-Count: 1
Content-Type: text/plain; charset=utf-8
X-Account-Meta-Test: NOP
X-Trans-Id: tx070a590a7fb540399b766-00558c1c0f
Date: Thu, 25 Jun 2015 15:19:43 GMTcont
Updated by Radoslaw Zarzynski almost 9 years ago
- Status changed from New to In Progress
- Assignee set to Radoslaw Zarzynski
Updated by Radoslaw Zarzynski almost 9 years ago
- Status changed from In Progress to Fix Under Review
Pull request: https://github.com/ceph/ceph/pull/5078.
Updated by Loïc Dachary over 8 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Nathan Cutler over 8 years ago
- Backport changed from hammer to firefly,hammer
Updated by Nathan Cutler over 8 years ago
- Status changed from Pending Backport to Resolved