]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
realcgitest.py: added import MacOS, it now works again. Removed NetPresenz reference.
authorJust van Rossum <just@lettererror.com>
Sun, 26 Mar 2000 10:12:26 +0000 (10:12 +0000)
committerJust van Rossum <just@lettererror.com>
Sun, 26 Mar 2000 10:12:26 +0000 (10:12 +0000)
cgitest.cgi.rsrc: disable argv emulation; this is essential for the first time the cgi applet starts up

Mac/Demo/cgi/cgitest.cgi.rsrc
Mac/Demo/cgi/realcgitest.py

index 5003bb5232c8f51dba5e0d4b0c1d9041d2944529..c8aa9f46f892515bf039f000dc8f19c6fb18b335 100644 (file)
Binary files a/Mac/Demo/cgi/cgitest.cgi.rsrc and b/Mac/Demo/cgi/cgitest.cgi.rsrc differ
index 5b45ed457e0b6d3388dfa861a4b3038703b29456..a91771a83f111b8359792e5f6830948164bc1eb5 100644 (file)
@@ -2,6 +2,7 @@
 """
 
 from MiniAEFrame import AEServer, MiniApplication
+import MacOS
 
 class CGITest(AEServer, MiniApplication):
        
@@ -23,7 +24,7 @@ class CGITest(AEServer, MiniApplication):
                                
        def cgihandler(self, pathargs, **args):
                rv = """HTTP/1.0 200 OK
-Server: NetPresenz; python-cgi-script
+Server: Unknown; python-cgi-script
 MIME-Version: 1.0
 Content-type: text/html