summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_common.h
diff options
context:
space:
mode:
authorYuri Weinstein <yuri.weinstein@gmail.com>2017-12-12 17:27:23 +0100
committerGitHub <noreply@github.com>2017-12-12 17:27:23 +0100
commit597884065fac36f9cdb9dfeb58e51a135e70334c (patch)
treeda96a45b5f5cdbdc04f15358e6f4e5b767415cd0 /src/rgw/rgw_common.h
parentMerge pull request #19236 from dplyakin/get-website-error-code (diff)
parentrgw: use camelcase format in request headers (diff)
downloadceph-597884065fac36f9cdb9dfeb58e51a135e70334c.tar.xz
ceph-597884065fac36f9cdb9dfeb58e51a135e70334c.zip
Merge pull request #19210 from Liuchang0812/rgw-camelcase
rgw: use camelcase format in request headers Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Diffstat (limited to 'src/rgw/rgw_common.h')
-rw-r--r--src/rgw/rgw_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rgw/rgw_common.h b/src/rgw/rgw_common.h
index 3017c495f37..438237d5570 100644
--- a/src/rgw/rgw_common.h
+++ b/src/rgw/rgw_common.h
@@ -2373,4 +2373,7 @@ static constexpr uint32_t MATCH_POLICY_STRING = 0x08;
extern bool match_policy(boost::string_view pattern, boost::string_view input,
uint32_t flag);
+extern string camelcase_dash_http_attr(const string& orig);
+extern string lowercase_dash_http_attr(const string& orig);
+
#endif