mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
*** empty log message ***
This commit is contained in:
parent
48f06cc90a
commit
075518f3fd
@ -690,12 +690,14 @@ int Downloader::
|
|||||||
parse_http_response(const string &resp) {
|
parse_http_response(const string &resp) {
|
||||||
size_t ws = resp.find(" ", 0);
|
size_t ws = resp.find(" ", 0);
|
||||||
string httpstr = resp.substr(0, ws);
|
string httpstr = resp.substr(0, ws);
|
||||||
|
#if 0
|
||||||
if (!(httpstr == "HTTP/1.1")) {
|
if (!(httpstr == "HTTP/1.1")) {
|
||||||
downloader_cat.error()
|
downloader_cat.error()
|
||||||
<< "Downloader::parse_http_response() - not HTTP/1.1 - got: "
|
<< "Downloader::parse_http_response() - not HTTP/1.1 - got: "
|
||||||
<< httpstr << endl;
|
<< httpstr << endl;
|
||||||
return EU_error_abort;
|
return EU_error_abort;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
size_t ws2 = resp.find(" ", ws);
|
size_t ws2 = resp.find(" ", ws);
|
||||||
string numstr = resp.substr(ws, ws2);
|
string numstr = resp.substr(ws, ws2);
|
||||||
nassertr(numstr.length() > 0, false);
|
nassertr(numstr.length() > 0, false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user