Mercurial > p > roundup > code
comparison roundup/admin.py @ 5636:528b902f98fc
Make pretty print mode the default. Turn off using pretty=false. This
makes use by humans (e.g. in browser) or printing when debugging
easier. With gzip and other compression the extra whitespace is not a
major issue.
Idea from:
https://www.vinaysahni.com/best-practices-for-a-pragmatic-restful-api#pretty-print-gzip
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 07 Mar 2019 18:08:32 -0500 |
| parents | bb7865241f8a |
| children | b76be13e027e |
comparison
equal
deleted
inserted
replaced
| 5634:cb4b232fcbaa | 5636:528b902f98fc |
|---|
