mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -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) {
|
||||
size_t ws = resp.find(" ", 0);
|
||||
string httpstr = resp.substr(0, ws);
|
||||
#if 0
|
||||
if (!(httpstr == "HTTP/1.1")) {
|
||||
downloader_cat.error()
|
||||
<< "Downloader::parse_http_response() - not HTTP/1.1 - got: "
|
||||
<< httpstr << endl;
|
||||
return EU_error_abort;
|
||||
}
|
||||
#endif
|
||||
size_t ws2 = resp.find(" ", ws);
|
||||
string numstr = resp.substr(ws, ws2);
|
||||
nassertr(numstr.length() > 0, false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user