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):
- Testcases:
- No testcase defined.