diff options
author | mokhotskii <mokhotskii@ydb.tech> | 2022-07-13 09:57:36 +0300 |
---|---|---|
committer | mokhotskii <mokhotskii@ydb.tech> | 2022-07-13 09:57:36 +0300 |
commit | bd624aed90654edd50d7991ae2f3bf70b4c69a09 (patch) | |
tree | a486e7ed44f4369062bae0f62879cdc77e6ac9f1 /library/cpp/mime | |
parent | 46ef7ab6f7c6d155901d911a6e0a6c4c3887596d (diff) | |
download | ydb-bd624aed90654edd50d7991ae2f3bf70b4c69a09.tar.gz |
Add MIME_CBOR content type
Add MIME_CBOR content type
Diffstat (limited to 'library/cpp/mime')
-rw-r--r-- | library/cpp/mime/types/mime.cpp | 1 | ||||
-rw-r--r-- | library/cpp/mime/types/mime.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/library/cpp/mime/types/mime.cpp b/library/cpp/mime/types/mime.cpp index 706d776b24..4564296959 100644 --- a/library/cpp/mime/types/mime.cpp +++ b/library/cpp/mime/types/mime.cpp @@ -99,6 +99,7 @@ const TMimeTypes::TRecord TMimeTypes::Records[] = { {MIME_WOFF2, "font/woff2\0", "woff2\0"}, {MIME_TTF, "font/ttf\0", "ttf\0"}, {MIME_WEBMANIFEST, "application/manifest+json\0", "webmanifest\0"}, + {MIME_CBOR, "application/cbor\0", "cbor\0"}, {MIME_MAX, nullptr, nullptr}, // Additional records diff --git a/library/cpp/mime/types/mime.h b/library/cpp/mime/types/mime.h index 05da389ea9..ffaebeff3e 100644 --- a/library/cpp/mime/types/mime.h +++ b/library/cpp/mime/types/mime.h @@ -58,6 +58,7 @@ enum MimeTypes { MIME_WOFF2 = 44, MIME_TTF = 45, MIME_WEBMANIFEST = 46, + MIME_CBOR = 47, MIME_MAX }; |