Module Http.Mime_type

A few ubiquitous MIME types.

See also Webs_kit.Mime_type.

type t = mime_type

See MIME types.

val application_json : mime_type

application_json is "application/json", JSON text.

val application_octet_stream : mime_type

application_octet_stream is "application/octet-stream", arbitrary bytes.

val application_x_www_form_urlencoded : mime_type

application_x_www_form_urlencoded is "application/x-www-form-urlencoded".

val text_css : mime_type

text_css is "text/css", a CSS stylesheet.

val text_html : mime_type

text_html is "text/html; charset=utf-8", UTF-8 encoded HTML text.

val text_javascript : mime_type

text_jvascript is "text/javascript", JavaScript code.

val text_plain : mime_type

text_plain is "text/plain; charset=utf-8", UTF-8 encoded plain text.

val multipart_byteranges : mime_type

multipart_byteranges is "multipart/byteranges".

val multipart_form_data : mime_type

multipart_form_data is "multipart/form-data".