From a82aee24d3c3b59885863f4ae650c96ff5504b36 Mon Sep 17 00:00:00 2001 From: liangliang tian Date: Wed, 9 Dec 2020 17:53:26 +0800 Subject: [PATCH] fix:ResponseData body add list type --- httprunner/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httprunner/models.py b/httprunner/models.py index 580e0ffb..3016b040 100644 --- a/httprunner/models.py +++ b/httprunner/models.py @@ -133,7 +133,7 @@ class ResponseData(BaseModel): cookies: Cookies encoding: Union[Text, None] = None content_type: Text - body: Union[Text, bytes, Dict] + body: Union[Text, bytes, Dict, List] class ReqRespData(BaseModel):