mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-27 18:02:17 +03:00
add CHUNKED encoding support too http client (#1324)
HTTP Client - fix examples increase default timeout to 5000ms
This commit is contained in:
@ -51,7 +51,7 @@ void loop() {
|
||||
int httpCode = http.GET();
|
||||
|
||||
// httpCode will be negative on error
|
||||
if(httpCode) {
|
||||
if(httpCode > 0) {
|
||||
// HTTP header has been send and Server response header has been handled
|
||||
USE_SERIAL.printf("[HTTP] GET... code: %d\n", httpCode);
|
||||
|
||||
|
Reference in New Issue
Block a user