aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/mime
diff options
context:
space:
mode:
authorlpetrov02 <lpetrov02@yandex-team.com>2022-08-26 17:04:18 +0300
committerlpetrov02 <lpetrov02@yandex-team.com>2022-08-26 17:04:18 +0300
commitc0ec5c1dde9b0d33aba0d5e4e942fc0c64d99b30 (patch)
treeec90b1df2eb1ba52a5c276bf99c73ea2e07d00ff /library/cpp/mime
parent505ddf87680103d2ee908d9eb05907c7d81b8484 (diff)
downloadydb-c0ec5c1dde9b0d33aba0d5e4e942fc0c64d99b30.tar.gz
Introduce new ContentTypes
Introduce new ContentTypes - x-amz-json-1.0, x-amz-json-1.1, x-amz-cbor-1.1
Diffstat (limited to 'library/cpp/mime')
-rw-r--r--library/cpp/mime/types/mime.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/mime/types/mime.cpp b/library/cpp/mime/types/mime.cpp
index 4564296959..e4cbcc86eb 100644
--- a/library/cpp/mime/types/mime.cpp
+++ b/library/cpp/mime/types/mime.cpp
@@ -84,7 +84,7 @@ const TMimeTypes::TRecord TMimeTypes::Records[] = {
{MIME_JAVASCRIPT, "application/javascript\0text/javascript\0", "js\0"},
{MIME_EPUB, "application/epub+zip\0", "epub\0"},
{MIME_TEX, "application/x-tex\0application/x-latex\0text/x-tex\0", "tex\0"},
- {MIME_JSON, "application/json\0", "json\0"},
+ {MIME_JSON, "application/json\0application/x-amz-json-1.0\0application/x-amz-json-1.1\0", "json\0"},
{MIME_APK, "application/vnd.android.package-archive\0", "apk\0"},
{MIME_CSS, "text/css\0", "css\0"},
{MIME_IMAGE_WEBP, "image/webp\0", "webp\0"},
@@ -99,7 +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_CBOR, "application/cbor\0application/x-amz-cbor-1.1\0", "cbor\0"},
{MIME_MAX, nullptr, nullptr},
// Additional records