From f97d5c1486faacdd70ebef19ca2dce1f90402356 Mon Sep 17 00:00:00 2001 From: Srinivas Reddy Thatiparthy Date: Sat, 5 Apr 2025 22:55:58 +0530 Subject: [PATCH 1/2] Use web.archive.org url since server's IP address cannot be found --- Lib/http/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/http/server.py b/Lib/http/server.py index 8e36d09ba5e363..8d07bd8ee01cab 100644 --- a/Lib/http/server.py +++ b/Lib/http/server.py @@ -1154,7 +1154,7 @@ def run_cgi(self): "CGI script is not executable (%r)" % scriptname) return - # Reference: http://hoohoo.ncsa.uiuc.edu/cgi/env.html + # Reference: https://web.archive.org/web/20090420032228/http://hoohoo.ncsa.uiuc.edu/cgi/env.html # XXX Much of the following could be prepared ahead of time! env = copy.deepcopy(os.environ) env['SERVER_SOFTWARE'] = self.version_string() From d2e33591bff11eeb8c56aced61d89c7ea899cf3c Mon Sep 17 00:00:00 2001 From: Srinivas Reddy Thatiparthy Date: Sat, 5 Apr 2025 23:20:57 +0530 Subject: [PATCH 2/2] Updated dead hyperlink with new hyperlink --- Lib/http/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/http/server.py b/Lib/http/server.py index 8d07bd8ee01cab..a2aad4c9be3c51 100644 --- a/Lib/http/server.py +++ b/Lib/http/server.py @@ -1154,7 +1154,7 @@ def run_cgi(self): "CGI script is not executable (%r)" % scriptname) return - # Reference: https://web.archive.org/web/20090420032228/http://hoohoo.ncsa.uiuc.edu/cgi/env.html + # Reference: https://www6.uniovi.es/~antonio/ncsa_httpd/cgi/env.html # XXX Much of the following could be prepared ahead of time! env = copy.deepcopy(os.environ) env['SERVER_SOFTWARE'] = self.version_string()