Fix deprecation warning in HttpResponse

Replace `mimetype` by `content_type` in `HttpResponse` attributes.
see:
<https://docs.djangoproject.com/en/1.4/ref/request-response/#id5>