Project

General

Profile

Actions

Bug #15902

closed

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

Added by Radoslaw Zarzynski almost 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Low
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
jewel
Regression:
No
Severity:
4 - irritation
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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 1 (0 open1 closed)

Copied to rgw - Backport #15960: jewel: rgw: custom metadata aren't camelcased in Swift's responsesResolvedAbhishek VarshneyActions
Actions #1

Updated by Radoslaw Zarzynski almost 8 years ago

  • Assignee set to Radoslaw Zarzynski

I'm working on that.

Actions #2

Updated by Radoslaw Zarzynski almost 8 years ago

  • Status changed from New to Fix Under Review
  • Backport set to jewel
Actions #3

Updated by Radoslaw Zarzynski almost 8 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Nathan Cutler almost 8 years ago

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

Updated by Loïc Dachary almost 8 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF