Javascript HTTP response

1
2
3
class HttpJavascriptResponse(HttpResponse):
    def __init__(self,content):
        HttpResponse.__init__(self,content,mimetype="text/javascript")

Comments

(Forgotten your password?)

You may use Markdown syntax here, but raw HTML will be removed.