xowiki::guesstype (public)

 xowiki::guesstype fn

Defined in packages/xowiki/tcl/xowiki-form-procs.tcl

Determine a MIME type using ns_guesstype and fall back to extension matching when it returns a generic type.

Parameters:
fn (required)
Filename or path.
Returns:
The MIME type, defaulting to application/octet-stream.

Partial Call Graph (max 5 caller/called nodes):
packages/xowiki/www/ckeditor-images/upload_image.tcl packages/xowiki/ www/ckeditor-images/upload_image.tcl xowiki::guesstype xowiki::guesstype packages/xowiki/www/ckeditor-images/upload_image.tcl->xowiki::guesstype xowiki::Page instproc create_link xowiki::Page instproc create_link xowiki::Page instproc create_link->xowiki::guesstype xowiki::test::require_page xowiki::test::require_page (private) xowiki::test::require_page->xowiki::guesstype ad_file ad_file (public) xowiki::guesstype->ad_file

Testcases:
No testcase defined.
[ show source ]
Show another procedure: