Bug #15902
closedrgw: custom metadata aren't camelcased in Swift's responses
0%
Description
RadosGW:
$ curl -i -X POST -H "X-Account-Meta-camel-case-test: OK" -H "X-Auth-Token: $token" "$publicURL"
...
$ curl -i -X HEAD -H "X-Auth-Token: $token" "$publicURL"
HTTP/1.1 204 No Content
X-Timestamp: 1463414447.06590
X-Account-Container-Count: 3
X-Account-Object-Count: 4
X-Account-Bytes-Used: 4
X-Account-Bytes-Used-Actual: 16384
X-Account-Meta-*camel-case-test*: NOK
X-Trans-Id: tx000000000000000000027-005739eeaf-1019-default
Content-Length: 0
Accept-Ranges: bytes
Content-Type: text/plain; charset=utf-8
Date: Mon, 16 May 2016 16:00:47 GMT
Swift:
$ curl -i -X POST -H "X-Account-Meta-camel-case-test: OK" -H "X-Auth-Token: $token" "$publicURL"
...
$ curl -i -X HEAD -H "X-Auth-Token: $token" "$publicURL"
HTTP/1.1 204 No Content
Content-Length: 0
Accept-Ranges: bytes
X-Account-Object-Count: 16
X-Timestamp: 1444053537.48538
X-Account-Meta-*Camel-Case-Test*: OK
X-Account-Meta-Test: OK
X-Account-Container-Count: 10
Content-Type: text/plain; charset=utf-8
X-Account-Bytes-Used: 566
X-Trans-Id: tx780e138443824a03ad35e-005739ee0b
Date: Mon, 16 May 2016 15:58:03 GMT
Updated by Radoslaw Zarzynski almost 8 years ago
- Assignee set to Radoslaw Zarzynski
I'm working on that.
Updated by Radoslaw Zarzynski almost 8 years ago
- Status changed from New to Fix Under Review
- Backport set to jewel
Pull request: https://github.com/ceph/ceph/pull/9148.
Updated by Radoslaw Zarzynski almost 8 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Nathan Cutler almost 8 years ago
- Copied to Backport #15960: jewel: rgw: custom metadata aren't camelcased in Swift's responses added
Updated by Loïc Dachary almost 8 years ago
- Status changed from Pending Backport to Resolved