]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: add x-rgw-* as a possible meta header prefix
authorYehuda Sadeh <yehuda@hq.newdream.net>
Wed, 18 Apr 2012 21:53:06 +0000 (14:53 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Wed, 18 Apr 2012 21:53:06 +0000 (14:53 -0700)
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
src/rgw/rgw_rest.cc

index 2ef154e44e48448666bddf45c13a084e810b6038..9649466f8bcff1d8e7b646e355ad0dfe7d4e77f9 100644 (file)
@@ -618,6 +618,7 @@ struct str_len {
 struct str_len meta_prefixes[] = { STR_LEN_ENTRY("HTTP_X_AMZ"),
                                    STR_LEN_ENTRY("HTTP_X_GOOG"),
                                    STR_LEN_ENTRY("HTTP_X_DHO"),
+                                   STR_LEN_ENTRY("HTTP_X_RGW"),
                                    STR_LEN_ENTRY("HTTP_X_OBJECT"),
                                    STR_LEN_ENTRY("HTTP_X_CONTAINER"),
                                    {NULL, 0} };