Browse Source

return redirect address for 1302 too

David Rose 23 years ago
parent
commit
74f99dcf0f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      panda/src/downloader/httpChannel.cxx

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

@@ -791,6 +791,8 @@ run_proxy_reading_header() {
     return true;
     return true;
   }
   }
 
 
+  _redirect = get_header_value("Location");
+
   _server_response_has_no_body = 
   _server_response_has_no_body = 
     (get_status_code() / 100 == 1 ||
     (get_status_code() / 100 == 1 ||
      get_status_code() == 204 ||
      get_status_code() == 204 ||