diff options
author | Just van Rossum <just@lettererror.com> | 2000-03-26 10:12:26 (GMT) |
---|---|---|
committer | Just van Rossum <just@lettererror.com> | 2000-03-26 10:12:26 (GMT) |
commit | 158ce4247e83e734503a3786911e790666e84072 (patch) | |
tree | ec65d7f4cef9b3b54d3c7244bc88074dd6dce81b /Mac | |
parent | 13ff8eb4935ad426312f908beb1698abfac37cac (diff) | |
download | cpython-158ce4247e83e734503a3786911e790666e84072.zip cpython-158ce4247e83e734503a3786911e790666e84072.tar.gz cpython-158ce4247e83e734503a3786911e790666e84072.tar.bz2 |
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')
-rw-r--r-- | Mac/Demo/cgi/cgitest.cgi.rsrc | bin | 8044 -> 8072 bytes | |||
-rw-r--r-- | Mac/Demo/cgi/realcgitest.py | 3 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Mac/Demo/cgi/cgitest.cgi.rsrc b/Mac/Demo/cgi/cgitest.cgi.rsrc Binary files differindex 5003bb5..c8aa9f4 100644 --- a/Mac/Demo/cgi/cgitest.cgi.rsrc +++ b/Mac/Demo/cgi/cgitest.cgi.rsrc diff --git a/Mac/Demo/cgi/realcgitest.py b/Mac/Demo/cgi/realcgitest.py index 5b45ed4..a91771a 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 |