mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-25 18:30:04 +08:00
fix: display indented json for request json body
This commit is contained in:
@@ -162,6 +162,7 @@ def __stringify_request(request_data):
|
||||
try:
|
||||
# request body is in json format
|
||||
value = json.loads(value)
|
||||
value = dumps_json(value)
|
||||
except JSONDecodeError:
|
||||
pass
|
||||
value = escape(value)
|
||||
|
||||
Reference in New Issue
Block a user