mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-21 10:26:06 +03:00
add DEBUG payload output (#8745)
This commit is contained in:
parent
a4a8782c56
commit
8e79833db6
@ -208,6 +208,9 @@ HTTPUpdateResult ESP8266HTTPUpdate::handleUpdate(HTTPClient& http, const String&
|
|||||||
DEBUG_HTTP_UPDATE("[httpUpdate] Server header:\n");
|
DEBUG_HTTP_UPDATE("[httpUpdate] Server header:\n");
|
||||||
DEBUG_HTTP_UPDATE("[httpUpdate] - code: %d\n", code);
|
DEBUG_HTTP_UPDATE("[httpUpdate] - code: %d\n", code);
|
||||||
DEBUG_HTTP_UPDATE("[httpUpdate] - len: %d\n", len);
|
DEBUG_HTTP_UPDATE("[httpUpdate] - len: %d\n", len);
|
||||||
|
if(code != HTTP_CODE_OK) {
|
||||||
|
DEBUG_HTTP_UPDATE("[httpUpdate] - payload: %s\n", http.getString().c_str());
|
||||||
|
}
|
||||||
|
|
||||||
String md5;
|
String md5;
|
||||||
if (_md5Sum.length()) {
|
if (_md5Sum.length()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user