mirror of
https://github.com/jazzband/django-downloadview.git
synced 2026-03-16 22:40:25 +00:00
refs #87 Quotes around ascii filename, not utf-8
Updated the test to go with my change.
This commit is contained in:
parent
77166d2969
commit
616c822b6c
1 changed files with 1 additions and 1 deletions
|
|
@ -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'])
|
||||
|
|
|
|||
Loading…
Reference in a new issue