Mercurial > p > roundup > code
diff roundup/scripts/roundup_server.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 | b3618882f906 |
| children | 5ad31de777a8 |
