From f59100fee4007b309b7e47322ccfbea3a6516ad6 Mon Sep 17 00:00:00 2001 From: Artem Levin <64748654+Leo506@users.noreply.github.com> Date: Wed, 7 Jun 2023 16:02:30 +0500 Subject: [PATCH] Add image content types (#33) Co-authored-by: Artem Levin --- src/Arbus.Network/HttpContentType.cs | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/Arbus.Network/HttpContentType.cs b/src/Arbus.Network/HttpContentType.cs index b024843..f0e1cdb 100644 --- a/src/Arbus.Network/HttpContentType.cs +++ b/src/Arbus.Network/HttpContentType.cs @@ -15,8 +15,18 @@ public static class Text public const string Plain = "text/plain"; } - public const string ImageSvgXmlContentType = "image/svg+xml"; - + public static class Image + { + public const string SvgXml = "image/svg+xml"; + public const string Gif = "image/gif"; + public const string Jpeg = "image/jpeg"; + public const string Png = "image/png"; + public const string Tiff = "image/tiff"; + public const string VndMicrosoftIcon = "image/vnd.microsoft.icon"; + public const string XIcon = "image/x-icon"; + public const string VndDjvu = "image/vnd.djvu"; + } + public static class Multipart { public const string FormData = "multipart/form-data";