From c00354fe4630a5507a37cc22a41a02b446000f6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Wed, 25 Dec 2024 11:07:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=93=8D=E5=BA=94=E6=95=B0=E6=8D=AE=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0BODY=5FROOT?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- request.go | 2 ++ 1 file changed, 2 insertions(+) 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"}, } )