aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/mime
diff options
context:
space:
mode:
authorkaikash7 <kaikash7@yandex-team.ru>2022-02-10 16:49:34 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:34 +0300
commitd4f879643b9f81b7bde1412460a870e6adad49a4 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/mime
parentbc8cd6e33446225b5dabbc681c5d24adc11a2943 (diff)
downloadydb-d4f879643b9f81b7bde1412460a870e6adad49a4.tar.gz
Restoring authorship annotation for <kaikash7@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/mime')
-rw-r--r--library/cpp/mime/types/mime.cpp18
-rw-r--r--library/cpp/mime/types/mime.h8
2 files changed, 13 insertions, 13 deletions
diff --git a/library/cpp/mime/types/mime.cpp b/library/cpp/mime/types/mime.cpp
index 8ccbd39b2a..706d776b24 100644
--- a/library/cpp/mime/types/mime.cpp
+++ b/library/cpp/mime/types/mime.cpp
@@ -27,7 +27,7 @@ public:
// Constants
public:
- static const size_t MAX_EXT_LEN = 11; // max length of supported extensions
+ static const size_t MAX_EXT_LEN = 11; // max length of supported extensions
// Helper methods
private:
@@ -95,10 +95,10 @@ const TMimeTypes::TRecord TMimeTypes::Records[] = {
{MIME_IMAGE_PNM, "image/x-portable-anymap\0", "pnm\0pgm\0ppm\0pbm\0"},
{MIME_IMAGE_SVG, "image/svg+xml\0", "svg\0"},
{MIME_IMAGE_ICON, "image/x-icon\0image/vnd.microsoft.icon\0", "ico\0"},
- {MIME_WOFF, "font/woff\0", "woff\0"},
- {MIME_WOFF2, "font/woff2\0", "woff2\0"},
- {MIME_TTF, "font/ttf\0", "ttf\0"},
- {MIME_WEBMANIFEST, "application/manifest+json\0", "webmanifest\0"},
+ {MIME_WOFF, "font/woff\0", "woff\0"},
+ {MIME_WOFF2, "font/woff2\0", "woff2\0"},
+ {MIME_TTF, "font/ttf\0", "ttf\0"},
+ {MIME_WEBMANIFEST, "application/manifest+json\0", "webmanifest\0"},
{MIME_MAX, nullptr, nullptr},
// Additional records
@@ -246,8 +246,8 @@ const char* MimeNames[MIME_MAX] = {
"pnm", // MIME_IMAGE_PNM // 40
"svg", // MIME_IMAGE_SVG // 41
"ico", // MIME_IMAGE_ICON // 42
- "woff", // MIME_WOFF // 43
- "woff2", // MIME_WOFF2 // 44
- "ttf", // MIME_TTF // 45
- "webmanifest" // MIME_WEBMANIFEST // 46
+ "woff", // MIME_WOFF // 43
+ "woff2", // MIME_WOFF2 // 44
+ "ttf", // MIME_TTF // 45
+ "webmanifest" // MIME_WEBMANIFEST // 46
};
diff --git a/library/cpp/mime/types/mime.h b/library/cpp/mime/types/mime.h
index a75f950bdc..05da389ea9 100644
--- a/library/cpp/mime/types/mime.h
+++ b/library/cpp/mime/types/mime.h
@@ -54,10 +54,10 @@ enum MimeTypes {
MIME_IMAGE_PNM = 40,
MIME_IMAGE_SVG = 41,
MIME_IMAGE_ICON = 42,
- MIME_WOFF = 43,
- MIME_WOFF2 = 44,
- MIME_TTF = 45,
- MIME_WEBMANIFEST = 46,
+ MIME_WOFF = 43,
+ MIME_WOFF2 = 44,
+ MIME_TTF = 45,
+ MIME_WEBMANIFEST = 46,
MIME_MAX
};