mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-13 13:01:55 +03:00
add CHUNKED encoding support too http client (#1324)
HTTP Client - fix examples increase default timeout to 5000ms
This commit is contained in:
@ -48,7 +48,7 @@ void loop() {
|
||||
//http.begin("192.168.1.12", 80, "/test.html");
|
||||
|
||||
int httpCode = http.GET();
|
||||
if(httpCode) {
|
||||
if(httpCode > 0) {
|
||||
USE_SERIAL.printf("[HTTP] GET... code: %d\n", httpCode);
|
||||
|
||||
// file found at server
|
||||
|
Reference in New Issue
Block a user