Added support for XML formatting (#1129)

As a side effect, XHTML responses will be pretty-printed too.
This commit is contained in:
Mickaël Schoentgen authored and GitHub committed 2021-08-31 22:49:53 +02:00
1 parent 8618f12fce
commit d10e108b5f
33 files changed
+387 -2

No files matched your search

+2
View File
@@ -90,6 +90,8 @@ DEFAULT_FORMAT_OPTIONS = [
'json.format:true',
'json.indent:4',
'json.sort_keys:true',
'xml.format:true',
'xml.indent:4',
]
SORTED_FORMAT_OPTIONS = [
'headers.sort:true',