mitsuhiko/flask — pull request #1262 by msabramo (2014-11-29 17:12:47+00:00)
Title: Add JSONIFY_END_WITH_NEWLINE config variable

When `JSONIFY_END_WITH_NEWLINE` is set to `True`, `jsonify` responses will be terminated with a newline character.

Defaults to `False` for backward compatibility.

This came up in the context of
https://github.com/kennethreitz/httpbin/issues/168