From 24b29968f28ccaae48b6c8d4ede3736e17fcd6dd Mon Sep 17 00:00:00 2001 From: mingshewhe Date: Tue, 1 Jun 2021 19:24:34 +0800 Subject: [PATCH] =?UTF-8?q?feature:=20git=E8=8E=B7=E5=8F=96=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=86=85=E5=AE=B9=E8=B6=85=E8=BF=871M=E5=BA=94?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E6=8C=87=E5=AE=9A=E7=9A=84=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E7=A0=81=20#4284?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kotlin/com/tencent/devops/common/api/util/OkhttpUtils.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/ci/core/common/common-api/src/main/kotlin/com/tencent/devops/common/api/util/OkhttpUtils.kt b/src/backend/ci/core/common/common-api/src/main/kotlin/com/tencent/devops/common/api/util/OkhttpUtils.kt index f465e0ff15a..2d5faf08295 100644 --- a/src/backend/ci/core/common/common-api/src/main/kotlin/com/tencent/devops/common/api/util/OkhttpUtils.kt +++ b/src/backend/ci/core/common/common-api/src/main/kotlin/com/tencent/devops/common/api/util/OkhttpUtils.kt @@ -275,7 +275,7 @@ object OkhttpUtils { totalBytesRead += len if (totalBytesRead >= readLimit) { throw ErrorCodeException( - statusCode = 200, + statusCode = 413, errorCode = ERROR_HTTP_RESPONSE_BODY_TOO_LARGE, defaultMessage = errorMsg ?: "response body cannot be exceeded $readLimit" )