package ocsigenserver
A full-featured and extensible Web server
Install
Dune Dependency
Authors
Maintainers
Sources
4.0.1.tar.gz
md5=acb09f06430cb8eefd83a849af6450af
sha512=f2c5111a02989572a19706ca5238d3740c4c06d97b0e1791ae0e06665666574ada94421d10edee636042984ab9df6357b4febbb4edc34b01e72619027b95bfec
doc/ocsigenserver.http/Ocsigen_charset_mime/index.html
Module Ocsigen_charset_mime
Charset
val no_charset : charset
val empty_charset_assoc : ?default:charset -> unit -> charset_assoc
All files are mapped to no_charset
val empty_mime_assoc : ?default:charset -> unit -> charset_assoc
val find_charset : string -> charset_assoc -> charset
val default_charset : charset_assoc -> charset
Functions related to the default charset in the association
val set_default_charset : charset_assoc -> charset -> charset_assoc
val update_charset_ext : charset_assoc -> extension -> charset -> charset_assoc
Updates the mapping between extensions from a file to its charset. The update can be specified using the extension of the file, the name of the file, or the entire file (with its path)
val update_charset_file : charset_assoc -> filename -> charset -> charset_assoc
val update_charset_regexp :
charset_assoc ->
Pcre.regexp ->
charset ->
charset_assoc
val default_mime_type : mime_type
val default_mime_assoc : unit -> mime_assoc
Default values, obtained by reading the file specified by Ocsigen_config_static.get_mimefile
val parse_mime_types : filename:string -> mime_assoc
Parsing of a file containing mime associations, such as /etc/mime-types
val find_mime : file -> mime_assoc -> string
val default_mime : mime_assoc -> mime_type
val set_default_mime : mime_assoc -> mime_type -> mime_assoc
val update_mime_ext : mime_assoc -> extension -> mime_type -> mime_assoc
val update_mime_file : mime_assoc -> filename -> mime_type -> mime_assoc
val update_mime_regexp : mime_assoc -> Pcre.regexp -> mime_type -> mime_assoc
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>