Better logic for calculating body length
Merge pull request #111 from cesanta/cloud

Better logic for calculating HTTP body length