diff --git a/ox/django/http.py b/ox/django/http.py index a3f773c..1fda91a 100644 --- a/ox/django/http.py +++ b/ox/django/http.py @@ -44,7 +44,7 @@ def HttpFileResponse(path, content_type=None, filename=None): if filename: if isinstance(filename, unicode): filename = filename.encode('utf-8') - response['Content-Disposition'] = 'attachment; filename*=UTF=8''%s' % quote(filename) + response['Content-Disposition'] = "attachment; filename*=UTF=8''%s" % quote(filename) response['Expires'] = datetime.strftime(datetime.utcnow() + timedelta(days=1), "%a, %d-%b-%Y %H:%M:%S GMT")