1
0
mirror of https://github.com/httpie/cli.git synced 2024-11-24 08:22:22 +02:00

Now non-ascii symbols displayed correctly in the output (not as escape sequences).

This commit is contained in:
Oleg Churkin 2012-07-12 17:30:41 +04:00 committed by Jakub Roztocil
parent 05b321d38f
commit 5a82c79fdf

View File

@ -42,7 +42,8 @@ class PrettyHttp(object):
try:
# Indent and sort the JSON data.
content = json.dumps(json.loads(content),
sort_keys=True, indent=4)
sort_keys=True, indent=4,
ensure_ascii=False)
except:
pass