Module Yocaml.Mime

An almost exhaustive list of MIME types extracted from MDN: Common MIME types

type t =
  1. | Audio_aac
  2. | Application_x_abiword
  3. | Application_x_freearc
  4. | Video_x_msvideo
  5. | Application_vnd_amazon_ebook
  6. | Application_octet_stream
  7. | Image_bmp
  8. | Application_x_bzip
  9. | Application_x_bzip2
  10. | Application_x_cdf
  11. | Application_x_csh
  12. | Text_css
  13. | Text_csv
  14. | Application_msword
  15. | Application_vnd_openxmlformats_officedocument_wordprocessingml_document
  16. | Application_vnd_ms_fontobject
  17. | Application_epub_zip
  18. | Application_gzip
  19. | Image_gif
  20. | Text_html
  21. | Image_vnd_microsoft_icon
  22. | Text_calendar
  23. | Application_java_archive
  24. | Image_jpeg
  25. | Text_javascript
  26. | Application_json
  27. | Application_ld_json
  28. | Audio_midi
  29. | Audio_x_midi
  30. | Audio_mpeg
  31. | Video_mp4
  32. | Video_mpeg
  33. | Application_vnd_apple_installer_xml
  34. | Application_vnd_oasis_opendocument_presentation
  35. | Application_vnd_oasis_opendocument_spreadsheet
  36. | Application_vnd_oasis_opendocument_text
  37. | Audio_ogg
  38. | Video_ogg
  39. | Application_ogg
  40. | Audio_opus
  41. | Font_otf
  42. | Image_png
  43. | Application_pdf
  44. | Application_x_httpd_php
  45. | Application_vnd_ms_powerpoint
  46. | Application_vnd_openxmlformats_officedocument_presentationml_presentation
  47. | Application_vnd_rar
  48. | Application_rtf
  49. | Application_x_sh
  50. | Image_svg_xml
  51. | Application_x_shockwave_flash
  52. | Application_x_tar
  53. | Image_tiff
  54. | Video_mp2T
  55. | Font_ttf
  56. | Text_plain
  57. | Application_vnd_visio
  58. | Audio_wav
  59. | Audio_webm
  60. | Video_webm
  61. | Image_webp
  62. | Font_woff
  63. | Font_woff2
  64. | Application_xhtml_xml
  65. | Application_vnd_ms_excel
  66. | Application_vnd_openxmlformats_officedocument_spreadsheetml_sheet
  67. | Application_xml
  68. | Text_xml
  69. | Application_vnd_mozilla_xul_xml
  70. | Application_zip
  71. | Video_3Gpp
  72. | Audio_3Gpp
  73. | Video_3Gpp2
  74. | Audio_3Gpp2
  75. | Application_x_7Z_compressed
val pp : Stdlib.Format.formatter -> t -> unit
val pp_extension : Stdlib.Format.formatter -> t -> unit
val pp_document : Stdlib.Format.formatter -> t -> unit
val identifier : t -> string
val extension : t -> string
val document : t -> string
val equal : t -> t -> bool