Javascript HTTP response

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

More like this

  1. Confirm alert if the user navigates away without saving changes by mrazzari 3 years, 10 months ago
  2. autocompleter with database query by bbolli 5 years, 10 months ago
  3. JSON decorator for views handling ajax requests by anilshanbhag 5 months ago
  4. Format transition middleware by limodou 6 years, 2 months ago
  5. Publishing service endpoint uri to javascript by dberansky 2 years, 11 months ago

Comments

(Forgotten your password?)