diff --git a/request.go b/request.go index 3acb409..efcedc1 100644 --- a/request.go +++ b/request.go @@ -70,6 +70,7 @@ const ( ResponseDataLocationCookie ResponseDataLocation = "COOKIE" // cookie ResponseDataLocationBody ResponseDataLocation = "BODY" // body ResponseDataLocationExtension ResponseDataLocation = "EXTENSION" // 扩展信息 + ResponseDataLocationBodyRoot ResponseDataLocation = "BODY_ROOT" // 整个body是当前值 ) type RequestDataLocationDesc struct { @@ -97,5 +98,6 @@ var ( {Value: ResponseDataLocationCookie, Description: "响应cookie"}, {Value: ResponseDataLocationBody, Description: "响应body"}, {Value: ResponseDataLocationExtension, Description: "响应扩展数据"}, + {Value: ResponseDataLocationBodyRoot, Description: "相应整体Body"}, } )