realcgitest.py: added import MacOS, it now works again. Removed NetPresenz reference.

cgitest.cgi.rsrc: disable argv emulation; this is essential for the first time the cgi applet starts up
This commit is contained in:
Just van Rossum 2000-03-26 10:12:26 +00:00
parent 13ff8eb493
commit 158ce4247e
2 changed files with 2 additions and 1 deletions

Binary file not shown.

View File

@ -2,6 +2,7 @@
""" """
from MiniAEFrame import AEServer, MiniApplication from MiniAEFrame import AEServer, MiniApplication
import MacOS
class CGITest(AEServer, MiniApplication): class CGITest(AEServer, MiniApplication):
@ -23,7 +24,7 @@ class CGITest(AEServer, MiniApplication):
def cgihandler(self, pathargs, **args): def cgihandler(self, pathargs, **args):
rv = """HTTP/1.0 200 OK rv = """HTTP/1.0 200 OK
Server: NetPresenz; python-cgi-script Server: Unknown; python-cgi-script
MIME-Version: 1.0 MIME-Version: 1.0
Content-type: text/html Content-type: text/html