summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJust van Rossum <just@lettererror.com>2000-03-26 10:12:26 (GMT)
committerJust van Rossum <just@lettererror.com>2000-03-26 10:12:26 (GMT)
commit158ce4247e83e734503a3786911e790666e84072 (patch)
treeec65d7f4cef9b3b54d3c7244bc88074dd6dce81b /Mac
parent13ff8eb4935ad426312f908beb1698abfac37cac (diff)
downloadcpython-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.rsrcbin8044 -> 8072 bytes
-rw-r--r--Mac/Demo/cgi/realcgitest.py3
2 files changed, 2 insertions, 1 deletions
diff --git a/Mac/Demo/cgi/cgitest.cgi.rsrc b/Mac/Demo/cgi/cgitest.cgi.rsrc
index 5003bb5..c8aa9f4 100644
--- a/Mac/Demo/cgi/cgitest.cgi.rsrc
+++ b/Mac/Demo/cgi/cgitest.cgi.rsrc
Binary files differ
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