mirror of
https://github.com/mbirth/tcl_ota_check.git
synced 2024-11-10 06:16:46 +00:00
Also dump download responses.
This commit is contained in:
parent
19fe09a3f7
commit
a39cc4d050
@ -282,6 +282,7 @@ class FotaCheck:
|
|||||||
#print(repr(dict(params)))
|
#print(repr(dict(params)))
|
||||||
req = self.sess.post(url, data=params)
|
req = self.sess.post(url, data=params)
|
||||||
if req.status_code == 200:
|
if req.status_code == 200:
|
||||||
|
self.write_dump(req.text)
|
||||||
return req.text
|
return req.text
|
||||||
else:
|
else:
|
||||||
print("REQUEST: " + repr(req))
|
print("REQUEST: " + repr(req))
|
||||||
|
Loading…
Reference in New Issue
Block a user