when content type is set with content_type function and controller return a string, client recieves text/html content type. test code: {{{ @route('/') def index(web): content_type('text/css') return "my css" }}}
when content type is set with content_type function and controller return a string, client recieves text/html content type.
test code:
{{{
@route('/')
def index(web):
content_type('text/css')
return "my css"
}}}