From 616c822b6c183e309f6bf50c721ad78a076de733 Mon Sep 17 00:00:00 2001 From: CJ Date: Fri, 6 Jun 2014 10:37:54 -0400 Subject: [PATCH] refs #87 Quotes around ascii filename, not utf-8 Updated the test to go with my change. --- django_downloadview/tests/response.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_downloadview/tests/response.py b/django_downloadview/tests/response.py index 2abd719..19088f1 100644 --- a/django_downloadview/tests/response.py +++ b/django_downloadview/tests/response.py @@ -15,5 +15,5 @@ class DownloadResponseTestCase(unittest.TestCase): headers = response.default_headers self.assertIn("filename=\"espace_.txt\"", headers['Content-Disposition']) - self.assertIn("filename*=UTF-8''\"espac%C3%A9%20.txt\"", + self.assertIn("filename*=UTF-8''espac%C3%A9%20.txt", headers['Content-Disposition'])