We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bf5619 commit c78c58eCopy full SHA for c78c58e
cocos/scripting/lua-bindings/manual/network/lua_xml_http_request.cpp
@@ -213,7 +213,10 @@ void LuaMinXmlHttpRequest::_gotHeader(const std::string& header)
213
mystream << pch;
214
215
pch = strtok (NULL, "\n");
216
- mystream << " " << pch;
+ //Send request to a url on Tomcat9. It just returned http response code '200' only,not '200 OK'
217
+ if (nullptr != pch) {
218
+ mystream << " " << pch;
219
+ }
220
221
_statusText = mystream.str();
222
0 commit comments