Server: replace deprecated parameter 'mimetype' in HttpResponse