template::get_mime_type (public)
template::get_mime_type
Defined in packages/acs-templating/tcl/mime-procs.tcl
gets the mimetype from the outputheaders and if missing guesses text/html
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: if {[ns_conn isconnected]} { set mime_type [ns_set iget [ns_conn outputheaders] "content-type"] } else { set mime_type {} } if { $mime_type eq "" } { set mime_type "text/html" } return $mime_typeXQL Not present: Generic, PostgreSQL, Oracle