diff options
author | zagevalo <zagevalo@yandex-team.com> | 2022-12-21 13:56:34 +0300 |
---|---|---|
committer | zagevalo <zagevalo@yandex-team.com> | 2022-12-21 13:56:34 +0300 |
commit | c57b812b9ff208ecf1af77096bff0eae7dfe0c03 (patch) | |
tree | 55902a980491dbb9685b61ebbef4bec799d6214f /library | |
parent | f7bd981e4e46e41709092fe9e7d149e1bc8b7738 (diff) | |
download | ydb-c57b812b9ff208ecf1af77096bff0eae7dfe0c03.tar.gz |
Added missing content-type to struct in mime library.
Diffstat (limited to 'library')
-rw-r--r-- | library/cpp/mime/types/mime.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/mime/types/mime.cpp b/library/cpp/mime/types/mime.cpp index 74eeabea48..0bb1f5dd43 100644 --- a/library/cpp/mime/types/mime.cpp +++ b/library/cpp/mime/types/mime.cpp @@ -59,7 +59,7 @@ const TMimeTypes::TRecord TMimeTypes::Records[] = { {MIME_RTF, "text/rtf\0application/rtf\0", "rtf\0"}, {MIME_DOC, "application/msword\0", "doc\0"}, {MIME_MPEG, "audio/mpeg\0", "mp3\0mpa\0m2a\0mp2\0mpg\0mpga\0"}, - {MIME_XML, "text/xml\0application/xml\0", "xml\0"}, + {MIME_XML, "text/xml\0application/xml\0application/rss+xml\0application/rdf+xml\0application/atom+xml\0", "xml\0rss\0"}, {MIME_WML, "text/vnd.wap.wml\0", "wml\0"}, {MIME_SWF, "application/x-shockwave-flash\0", "swf\0"}, {MIME_XLS, "application/vnd.ms-excel\0", "xls\0"}, @@ -75,7 +75,7 @@ const TMimeTypes::TRecord TMimeTypes::Records[] = { {MIME_UNKNOWN, nullptr, nullptr}, {MIME_IMAGE_BMP, "image/bmp\0image/x-ms-bmp\0image/x-windows-bmp\0", "bmp\0"}, {MIME_WAV, "audio/x-wav\0", "wav\0"}, - {MIME_ARCHIVE, "application/x-archive\0", nullptr}, + {MIME_ARCHIVE, "application/x-archive\0application/x-tar\0application/x-ustar\0application/x-gtar\0application/x-bzip2\0application/x-rar\0", "tar\0rar\0bzip2\0"}, {MIME_EXE, "application/exe\0application/octet-stream\0application/x-dosexec\0application/x-msdownload\0", "exe\0"}, {MIME_ODG, "application/vnd.oasis.opendocument.graphics\0", "odg\0"}, {MIME_GZIP, "application/x-gzip\0", "gz\0gzip\0"}, |