forked from orbit-oss/flask
Improve compression by removing whitespace from separators when using jsonify() and JSONIFY_PRETTYPRINT_REGULAR is False.
Commit includes Changelog entry and two new tests in test_basic.py.
This commit is contained in:
parent
050a659c2f
commit
d425279650
3 changed files with 39 additions and 1 deletions
3
CHANGES
3
CHANGES
|
|
@ -51,6 +51,9 @@ Version 1.0
|
|||
loading.
|
||||
- Ported testsuite to py.test.
|
||||
- Deprecated ``request.json`` in favour of ``request.get_json()``.
|
||||
- Add "pretty" and "compressed" separators definitions in jsonify() method.
|
||||
Reduces JSON response size when JSONIFY_PRETTYPRINT_REGULAR=False by removing
|
||||
unnecessary white space included by default after separators.
|
||||
|
||||
|
||||
Version 0.10.2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue