mirror of
https://github.com/jazzband/django-downloadview.git
synced 2026-03-16 22:40:25 +00:00
refs #87 quotes for ascii filename to fix doctest
This commit is contained in:
parent
3b124f0cdb
commit
fbb0f30f2a
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ def content_disposition(filename):
|
|||
u"""Return value of ``Content-Disposition`` header with 'attachment'.
|
||||
|
||||
>>> print(content_disposition('demo.txt'))
|
||||
attachment; filename=demo.txt
|
||||
attachment; filename="demo.txt"
|
||||
|
||||
If filename is empty, only "attachment" is returned.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue