mirror of
https://github.com/httpie/cli.git
synced 2026-06-20 11:32:56 +02:00
Added support for XML formatting (#1129)
As a side effect, XHTML responses will be pretty-printed too.
This commit is contained in:
1 parent
8618f12fce
commit
d10e108b5f
33 files changed
+387
-2
No files matched your search
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user