tuanpmt / espduino

ESP8266 network client (mqtt, restful) for Arduino
http://tuanpm.net/post/espduino
MIT License
382 stars 122 forks source link

Fix to set user agent #37

Closed n8henrie closed 8 years ago

n8henrie commented 8 years ago

https://github.com/tuanpmt/espduino/issues/15 setUserAgent function wasn't working, but setHeader and setContentType worked fine, so I compared the differences between the functions and found something that didn't look right. Seems to be working with this change.