diff --git a/dajaxice/views.py b/dajaxice/views.py index caa58bd..b25c685 100644 --- a/dajaxice/views.py +++ b/dajaxice/views.py @@ -55,6 +55,6 @@ def dispatch(self, request, name=None): raise response = dajaxice_config.DAJAXICE_EXCEPTION - return HttpResponse(response, mimetype="application/x-json") + return HttpResponse(response, content_type="application/x-json") else: raise FunctionNotCallableError(name)