Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get number of bytes of UTF-8 encoded POST payload
It seems that POST action of physicalgraph.device.HubAction doesn't get length of payload correctly. Without this change size of UTF-8 payload was smaller and InfluxDB parser complained that message isn't formatted correctly. E.g. http/1.1 400 bad request {"error":"unable to parse '...': invalid boolean {"error":"unable to parse '...': missing fields etc resolves: codersaur#19
- Loading branch information