Skip to content

Commit

Permalink
Add image content types (#33)
Browse files Browse the repository at this point in the history
Co-authored-by: Artem Levin <[email protected]>
  • Loading branch information
Leo506 and Artem Levin authored Jun 7, 2023
1 parent 511f354 commit f59100f
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/Arbus.Network/HttpContentType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit f59100f

Please sign in to comment.