[API] replace old parameter name to HttpResponse

The parameter was previously named "mimetype" but is now called "content_type"

https://docs.djangoproject.com/en/dev/ref/request-response/#django.http.HttpResponse.__init__