GTRKMimeTypes
enum GTRKMimeTypes : String
Some common mime types the can be used for conveniency.
- textPlain: text/plain
- textHTML: text/html
- textCSS: text/css
- textCSV: text/csv
- imageJPEG: image/jpeg
- imagePNG: image/png
- imageGIF: image/gif
- audioWAV: audio/wav
- audioOGG: audio/ogg
- videoOGG: video/ogg
- videoMPEG: video/mpeg
- applicationOGG: application/ogg
- applicationPDF: application/pdf
- applicationRTF: application/rtf
- applicationZIP: applization/zip
- applicationJSON: application/json
- applicationOctetStream: application/octet-stream
- applicationJavascript: application/javascript
- applicationXML: application/xml
-
text/plain
Declaration
Swift
case textPlain = "text/plain"
-
text/html
Declaration
Swift
case textHTML = "text/html"
-
text/css
Declaration
Swift
case textCSS = "text/css"
-
text/csv
Declaration
Swift
case textCSV = "text/csv"
-
image/jpeg
Declaration
Swift
case imageJPEG = "image/jpeg"
-
image/png
Declaration
Swift
case imagePNG = "image/png"
-
image/gif
Declaration
Swift
case imageGIF = "image/gif"
-
audio/wav
Declaration
Swift
case audioWAV = "audio/wav"
-
audio/ogg
Declaration
Swift
case audioOGG = "audio/ogg"
-
video/ogg
Declaration
Swift
case videoOGG = "video/ogg"
-
video/mpeg
Declaration
Swift
case videoMPEG = "video/mpeg"
-
application/ogg
Declaration
Swift
case applicationOGG = "application/ogg"
-
application/pdf
Declaration
Swift
case applicationPDF = "application/pdf"
-
application/rtf
Declaration
Swift
case applicationRTF = "application/rtf"
-
application/zip
Declaration
Swift
case applicationZIP = "applicaton/zip"
-
application/json
Declaration
Swift
case applicationJSON = "application/json"
-
application/octet-stream
Declaration
Swift
case applicationOctetStream = "application/octet-stream"
-
application/javascript
Declaration
Swift
case applicationJavascript = "application/javascript"
-
application/xml
Declaration
Swift
case applicationXML = "application/xml"