1
0
mirror of https://github.com/httpie/cli.git synced 2025-08-10 22:42:05 +02:00

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
2021-08-31 22:49:53 +02:00
committed by GitHub
parent 8618f12fce
commit d10e108b5f
33 changed files with 387 additions and 2 deletions

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',