Warning: Reason support is experimental. We are looking for beta-tester and contributors.

Module Eliom_registration.File_ct

module File_ct : sig..end

Same as file but makes possible to specify the content type for each file. The value returned by service handlers is a pair (file_name, content_type).


val check_file : string -> bool

The function check_file file is true if File.send file would effectively return the file (i.e. the file is present and readable)

include Eliom_registration_sigs.S_with_create