Use content_type instead of mimetype.

In Django 1.7 mimetype is not accepted in HttpResponse.
https://docs.djangoproject.com/en/1.7/ref/request-response/#django.http.HttpResponse.__init__