refs #87 quotes for ascii filename to fix doctest

This commit is contained in:
CJ 2014-06-06 12:07:12 -04:00
parent 3b124f0cdb
commit fbb0f30f2a

View file

@ -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.