Project

General

Profile

Tasks #57646

stop mangling request header names

Added by Casey Bodley 4 months 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

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

History

#1 Updated by Casey Bodley 4 months ago

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

Also available in: Atom PDF