Browse Source

*** empty log message ***

Mike Goslin 25 years ago
parent
commit
075518f3fd
1 changed files with 2 additions and 0 deletions
  1. 2 0
      panda/src/downloader/downloader.cxx

+ 2 - 0
panda/src/downloader/downloader.cxx

@@ -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);