Project

General

Profile

Bug #15902

rgw: custom metadata aren't camelcased in Swift's responses

Added by Radoslaw Zarzynski over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Low
Target version:
-
Start date:
05/16/2016
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
jewel
Regression:
No
Severity:
4 - irritation
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

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


Related issues

Copied to rgw - Backport #15960: jewel: rgw: custom metadata aren't camelcased in Swift's responses Resolved

History

#1 Updated by Radoslaw Zarzynski over 2 years ago

  • Assignee set to Radoslaw Zarzynski

I'm working on that.

#2 Updated by Radoslaw Zarzynski over 2 years ago

  • Status changed from New to Need Review
  • Backport set to jewel

#3 Updated by Radoslaw Zarzynski over 2 years ago

  • Status changed from Need Review to Pending Backport

#4 Updated by Nathan Cutler over 2 years ago

  • Copied to Backport #15960: jewel: rgw: custom metadata aren't camelcased in Swift's responses added

#5 Updated by Loic Dachary over 2 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF