Actions
Tasks #57646
open
CB
stop mangling request header names
Tasks #57646:
stop mangling request header names
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
CB Updated by Casey Bodley about 4 years ago
- Related to Bug #51772: tempest failures: test_create_container_with_remove_metadata_key/value added
Actions