Skip to content

content_type doesn't work #1

@javisantana

Description

@javisantana

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"
}}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions