Skip to content

Commit

Permalink
Fixed mimetype param in httpresponse
Browse files Browse the repository at this point in the history
  • Loading branch information
Julio Cesar Melanda committed Sep 8, 2014
1 parent 3bf51fb commit 858cc62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dajaxice/views.py
Expand Up @@ -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)

0 comments on commit 858cc62

Please sign in to comment.