arduino-libraries / ArduinoHttpClient

Arduino HTTP Client library
282 stars 170 forks source link

ContentLength returns negative value #36

Closed koulombus closed 6 months ago

koulombus commented 6 years ago

If the content is larger than 32k, the value is negative. Change ContentLength to "unsigned long" for larger content.

sandeepmistry commented 6 years ago

Changing to long would be good I think.

Park0 commented 4 years ago

I just added PR https://github.com/arduino-libraries/ArduinoHttpClient/pull/90 to fix this