Cocos2d-x 3.2 Lua XMLHttpRequest cannot execute callback function on error response

When server returns non 200, lua callback function cannot be called.

I have to comment lines in LuaMinXmlHttpRequest::_sendRequest() of lua_xml_http_request.cpp:

// if (!response->isSucceed())
// {
// CCLOG(“response failed”);
// CCLOG(“error buffer: %s”, response->getErrorBuffer());
// return;
// }

XMLHttpRequest is not good, when you no link network that no happen any response. I only said is do very SB. when you ask in the forum , will no personal review you.

This bug has been fixed in the v3.3,you could refer to it.