Order JSON keys by default to avoid trashing HTTP caches
This commit is contained in:
parent
3d9055b3b7
commit
77d293cf49
5 changed files with 57 additions and 1 deletions
|
|
@ -291,6 +291,7 @@ class Flask(_PackageBoundObject):
|
|||
'TRAP_HTTP_EXCEPTIONS': False,
|
||||
'PREFERRED_URL_SCHEME': 'http',
|
||||
'JSON_AS_ASCII': True,
|
||||
'JSON_SORT_KEYS': True,
|
||||
'JSONIFY_PRETTYPRINT_REGULAR': True,
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue