summaryrefslogtreecommitdiff
path: root/docs/quick_tutorial/ini/tutorial
diff options
context:
space:
mode:
authorDavid Glick <david@glicksoftware.com>2016-11-09 23:31:24 -0800
committerDavid Glick <david@glicksoftware.com>2016-11-09 23:31:24 -0800
commited06c68b7b622cf43dc09b0e475ad6c978ec3de4 (patch)
treea1d6243990f0f8b1bd6dc0af6bc3cd853a30d4f5 /docs/quick_tutorial/ini/tutorial
parent568ce319ef097f1e909398f9a5ec890e4de91601 (diff)
downloadpyramid-ed06c68b7b622cf43dc09b0e475ad6c978ec3de4.tar.gz
pyramid-ed06c68b7b622cf43dc09b0e475ad6c978ec3de4.tar.bz2
pyramid-ed06c68b7b622cf43dc09b0e475ad6c978ec3de4.zip
Avoid setting Content-Encoding header for static view responses.
This was causing clients to decode the content of gzipped files when downloading them. We discussed this on IRC and @mmerickel pointed out that it may be a goal in some cases to serve gzipped precompiled assets (i.e. CSS/Javascript) with this header. But that's a new feature that would require thought about how to specify which files to serve that way. And it can already be implemented for a project using a tween. This just aims to fix the existing use case of serving files for download.
Diffstat (limited to 'docs/quick_tutorial/ini/tutorial')
0 files changed, 0 insertions, 0 deletions