Enum MediaTypes
Use this enum for the creating the accept header or checking the content-type
Namespace:Dapplo.HttpExtensions.Support
Assembly:Dapplo.HttpExtensions.dll
Syntax
public enum MediaTypes
Fields
| Improve this Doc View SourceBmp
Image type bmp
Declaration
Bmp = 9
Gif
Image type gif
Declaration
Gif = 6
Html
Used for Html
Declaration
Html = 3
Icon
Image type Icon (.ico)
Declaration
Icon = 11
Jpeg
Image type jpeg
Declaration
Jpeg = 7
Json
Used for Json
Declaration
Json = 0
Png
Image type png
Declaration
Png = 8
Rss
Rss feed (not Atom)
Declaration
Rss = 13
Svg
Image type SVG
Declaration
Svg = 12
Tiff
Image type tiff
Declaration
Tiff = 10
Txt
Used for Text
Declaration
Txt = 4
WwwFormUrlEncoded
Used for a www form which is url encoded
Declaration
WwwFormUrlEncoded = 5
Xml
Used for Xml
Declaration
Xml = 1
XmlReadable
Used for Xml
Declaration
XmlReadable = 2