Fixed deprecated parameter mimetype passed to HttpResponse