diff options
author | George Hickman <george@ghickman.co.uk> | 2012-05-21 15:52:38 +0100 |
---|---|---|
committer | George Hickman <george@ghickman.co.uk> | 2012-05-21 15:52:38 +0100 |
commit | a9e1c24ea0f810863c4d611148c41a24afe4ec62 (patch) | |
tree | c9acfbd4b8cc6df206226f2c0f2eedb43cf5d11f /docs/installation.rst | |
parent | 2ef7f402eea33c79eddb3e5d5a9c0d27e2991f92 (diff) | |
download | django-wkhtmltopdf-a9e1c24ea0f810863c4d611148c41a24afe4ec62.tar.gz django-wkhtmltopdf-a9e1c24ea0f810863c4d611148c41a24afe4ec62.tar.bz2 django-wkhtmltopdf-a9e1c24ea0f810863c4d611148c41a24afe4ec62.zip |
Only set 'Content-Disposition' header if filename is set
Setting 'Content-Disposition' explicitly sets the PDF as an attachment causing
browsers to download the PDF. However newer browsers, like Chrome, will
display the PDF without this header. So assume the dev wants this to be force
download if they set the filename.
Diffstat (limited to 'docs/installation.rst')
0 files changed, 0 insertions, 0 deletions