From 349f14a7fc355fbb209c550b4a2b88a187abf0b9 Mon Sep 17 00:00:00 2001 From: colinxu Date: Sat, 27 Nov 2021 20:33:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BD=BF=E7=94=A8=E6=97=A7pu?= =?UTF-8?q?shplus=E6=8E=A8=E9=80=81=E5=90=8E=E7=BB=93=E6=9E=9C=E8=A7=A3?= =?UTF-8?q?=E6=9E=90=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=97=AE=E9=A2=98=20(#958)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sample/notify.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sample/notify.py b/sample/notify.py index e1691bbe..a5ac2b76 100644 --- a/sample/notify.py +++ b/sample/notify.py @@ -285,6 +285,7 @@ def pushplus_bot(title: str, content: str) -> None: else: url_old = "http://pushplus.hxtrip.com/send" + headers["Accept"] = "application/json" response = requests.post(url=url_old, data=body, headers=headers).json() if response["code"] == 200: