From fbb0f30f2acae5fd64e778ab5f4a3028c71e83ca Mon Sep 17 00:00:00 2001 From: CJ Date: Fri, 6 Jun 2014 12:07:12 -0400 Subject: [PATCH] refs #87 quotes for ascii filename to fix doctest --- django_downloadview/response.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_downloadview/response.py b/django_downloadview/response.py index d414aa8..85cacda 100644 --- a/django_downloadview/response.py +++ b/django_downloadview/response.py @@ -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.