From a39cc4d050244d0f725149ba28c5b3bff8d11822 Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Thu, 2 Nov 2017 02:08:22 +0100 Subject: [PATCH] Also dump download responses. --- tcllib.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tcllib.py b/tcllib.py index 2ccddbf..f61737f 100644 --- a/tcllib.py +++ b/tcllib.py @@ -282,6 +282,7 @@ class FotaCheck: #print(repr(dict(params))) req = self.sess.post(url, data=params) if req.status_code == 200: + self.write_dump(req.text) return req.text else: print("REQUEST: " + repr(req))