if you set the Requestdata is null or empty string,when you call CCHttpReqeus::getRequestdata(),your program will crash,the visual studio report error,is this a bug?
moreover,in the Official Documents,
http://www.cocos2d-x.org/projects/cocos2d-x/wiki/How_to_use_CCHttpClient?version=10
=
Read the Response
It is vital that the response body is always read regardless of the status returned by the server. There are three ways to do this:
Call getRequestData() This will return a raw data containing the data in the response body.
1 /** Get the request data pointer back */
2inline char* getRequestData()
this part is correct?