Django 1.7: HttpResponse(content_type=...) instead of mimetype