summaryrefslogtreecommitdiff
path: root/docs/quick_tutorial
diff options
context:
space:
mode:
authordobesv <dobesv@gmail.com>2014-02-27 16:22:36 -0800
committerMichael Merickel <michael@merickel.org>2014-05-16 21:42:02 -0500
commit8dbe013e65134001bd48eb54935beb71d7333a37 (patch)
tree5659d8e73d42aebed896b621b2d877bd5e3620cd /docs/quick_tutorial
parent61afb8909caa8e1cc3c6d36023aab6b96fcf7171 (diff)
downloadpyramid-8dbe013e65134001bd48eb54935beb71d7333a37.tar.gz
pyramid-8dbe013e65134001bd48eb54935beb71d7333a37.tar.bz2
pyramid-8dbe013e65134001bd48eb54935beb71d7333a37.zip
Don't incorrectly default charset on FileResponse
By passing the content_type into the constructor to Response, we can allow it to decide intelligently whether the default charset should apply. Otherwise we'd have to replicate that logic somehow, or live with weird charset annotations on images, pdfs, and zips.
Diffstat (limited to 'docs/quick_tutorial')
0 files changed, 0 insertions, 0 deletions