]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/seastar/include/seastar/http/mime_types.hh
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / seastar / include / seastar / http / mime_types.hh
index c5530f5a09ee390d6913b78205135722d8f0e081..cdeeacb13bbd388bea6b2426dc20daa41e50f8fc 100644 (file)
@@ -14,7 +14,7 @@
 
 namespace seastar {
 
-namespace httpd {
+namespace http {
 
 namespace mime_types {
 
@@ -30,4 +30,13 @@ const char* extension_to_type(const sstring& extension);
 
 } // namespace httpd
 
+namespace httpd {
+namespace mime_types {
+[[deprecated("Use http::mime_types::extension_to_type instead")]]
+inline const char* extension_to_type(const sstring& extension) {
+    return http::mime_types::extension_to_type(extension);
+}
+}
+}
+
 }