Pylons/pyramid — pull request #1251 by dobesv (2014-02-28 00:22:42+00:00)
Title: 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.