Project

General

Profile

Actions

Tasks #57646

open
CB

stop mangling request header names

Tasks #57646: stop mangling request header names

Added by Casey Bodley about 4 years ago.

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

0%

Reviewed:
Affected Versions:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:

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

Related to rgw - Bug #51772: tempest failures: test_create_container_with_remove_metadata_key/valueResolved

Actions

CB Updated by Casey Bodley about 4 years ago Actions #1

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

Also available in: PDF Atom