diff --git a/basics/views.py b/basics/views.py index 147437e..c196e33 100644 --- a/basics/views.py +++ b/basics/views.py @@ -23,7 +23,7 @@ def resumepdf(request): dst.close() if not pdf.err: - return HttpResponse(pdf_data, mimetype = 'application/pdf') + return HttpResponse(pdf_data, content_type = 'application/pdf') return HttpResponse('We had some errors:
%s
' % escape(html))