cocos2d/cocos2d-x — pull request #9149 by samuele3hu (2014-11-18 08:05:16+00:00)
Title: Resolve the bugs that XmlHttpRequest would truncate binary data

This pr merged from https://github.com/cocos2d/cocos2d-x/pull/9073 and did some modify.Thanks @dantezhu.