From e4c210289347b6a7e01dfe2122ec231592e1f1d0 Mon Sep 17 00:00:00 2001 From: han0 Date: Wed, 24 Feb 2021 16:38:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=9C=A8=20delete=20?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E4=B8=8B=E8=AF=B7=E6=B1=82=E6=97=B6=E5=87=BA?= =?UTF-8?q?=E7=8E=B0=E7=9A=84=20400=20=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nc_http/core/func.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nc_http/core/func.py b/nc_http/core/func.py index fb8dabf..0a82c6a 100644 --- a/nc_http/core/func.py +++ b/nc_http/core/func.py @@ -36,7 +36,7 @@ def get_request_json(): json_data = zlib.decompress(request.get_data()) data = json.loads(json_data) else: - data = request.get_json(force=True) + data = request.get_json(force=True, silent=True) g.request_data = strip_value(data)