mathworks / thingspeak-arduino

ThingSpeak Communication Library for Arduino, ESP8266 and ESP32
https://thingspeak.com
431 stars 231 forks source link

Support for chunked transfer encoding #56

Closed weinerg closed 4 years ago

weinerg commented 5 years ago

The ThingSpeak sever recently changed to use "chunked transfer encoding" for read requests. So there is no Content-Length inside the htpp header, which is necessary for the current (V1.5.0) implementation of getHTTPResponse in case of be called by readRaw. So currently the read functions do not work at least in my implementation.

I made a workaround for me, but this is not very nice. https://community.thingspeak.com/forum/esp8266-wi-fi/suddenly-appearing-problems-reading-data-by-esp/

Is it possible to provide a library that supports the recognition of "chunked transfer encoding" use. Many thanks for an answer.

v-c commented 4 years ago

Can you confirm this is not an issue anymore? We've changed server side code so the content-length header is available.

v-c commented 4 years ago

The server includes the content-length header. Closing this issue.