Project

General

Profile

Actions

Tasks #57646

open

stop mangling request header names

Added by Casey Bodley over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Tags:
Reviewed:
Affected Versions:
Pull request ID:

Description

rgw frontends have always converted incoming request headers from their native format like "x-amz-date" into the form "HTTP_X_AMZ_DATE". i believe this "HTTP_" form was for interop with fcgi when we still had a frontend for it

this header transformation causes issues with s3/swift object and bucket metadata, which are key/value pairs represented in headers like "x-amz-meta-key_1: value_1"

the beast frontend performs this transformation in https://github.com/ceph/ceph/blob/fe9d6e9/src/rgw/rgw_asio_client.cc#L50-L62


Related issues 1 (1 open0 closed)

Related to rgw - Bug #51772: tempest failures: test_create_container_with_remove_metadata_key/valuePending BackportAli Maredia

Actions
Actions #1

Updated by Casey Bodley over 1 year ago

  • Related to Bug #51772: tempest failures: test_create_container_with_remove_metadata_key/value added
Actions

Also available in: Atom PDF