diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 68906264..272d8a77 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -10,6 +10,7 @@ - change: do not raise error if failed to get client/server address info - fix: path handling error when har2case har file and cwd != ProjectRootDir +- fix: missing list type for request body ## 3.0.13 (2020-06-17) diff --git a/httprunner/models.py b/httprunner/models.py index fa9d492d..775a7a75 100644 --- a/httprunner/models.py +++ b/httprunner/models.py @@ -123,7 +123,7 @@ class RequestData(BaseModel): url: Url headers: Headers = {} cookies: Cookies = {} - body: Union[Text, bytes, Dict, None] = {} + body: Union[Text, bytes, Dict, List, None] = {} class ResponseData(BaseModel):