The following patch was needed to get the
`Direct CGI Apache configuration' working
(spyce-1.1.10):
--- spyceCmd.py.orig Sun Jun 30 05:16:09 2002
+++ spyceCmd.py Sun Jun 30 05:30:39 2002
@@ -88,9 +88,9 @@
self.out.clear()
def sendHeaders(self):
if self.cgimode and not self.headersSent:
- self.headersSent = 1
if not self.CT:
self.setContentType('text/html')
+ self.headersSent = 1
self.origout.write('Content-type: %s\n' % self.CT)
for h in self.headers:
self.origout.write('%s: %s\n', h)
@@ -107,6 +107,7 @@
else:
self.headers.append((type, data))
def flush(self):
+ self.sendHeaders()
self.out.flush()
def unbuffer(self):
self.out.unbuffer()
Nobody/Anonymous ( nobody ) - 2002-06-29 17:13:32 PDT
5
Closed
Fixed
Nobody/Anonymous
None
None
Public
|
Date: 2002-06-30 08:45:34 PDT Logged In: YES |