diff options
author | Just van Rossum <just@lettererror.com> | 2000-03-26 10:12:26 +0000 |
---|---|---|
committer | Just van Rossum <just@lettererror.com> | 2000-03-26 10:12:26 +0000 |
commit | 158ce4247e83e734503a3786911e790666e84072 (patch) | |
tree | ec65d7f4cef9b3b54d3c7244bc88074dd6dce81b /Mac/Demo/cgi/realcgitest.py | |
parent | 13ff8eb4935ad426312f908beb1698abfac37cac (diff) | |
download | cpython-git-158ce4247e83e734503a3786911e790666e84072.tar.gz |
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
Diffstat (limited to 'Mac/Demo/cgi/realcgitest.py')
-rw-r--r-- | Mac/Demo/cgi/realcgitest.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Mac/Demo/cgi/realcgitest.py b/Mac/Demo/cgi/realcgitest.py index 5b45ed457e..a91771a83f 100644 --- a/Mac/Demo/cgi/realcgitest.py +++ b/Mac/Demo/cgi/realcgitest.py @@ -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 |