jbe/bsw@0: --[[-- jbe/bsw@0: content_type = -- content-type as selected with slot.set_layout(...) jbe/bsw@0: slot.get_content_type() jbe/bsw@0: jbe/bsw@0: This function returns the content-type to be sent to the browser. It may be changed by calling slot.set_layout(...). The default content-type is "text/html; charset=UTF-8". jbe/bsw@0: jbe/bsw@0: --]]-- jbe/bsw@0: jbe/bsw@0: function slot.get_content_type() jbe/bsw@0: return slot._content_type or 'text/html; charset=UTF-8' jbe/bsw@0: end