Tracker: Bugs

5 CGI headers not sent. - ID: 575533
Last Update: Settings changed ( batripler )

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


Comment ( 1 )

Date: 2002-06-30 08:45:34 PDT
Sender: batriplerProject Admin

Logged In: YES
user_id=371556

Thanks for spotting this... This bug and a whole slew of
other CGI bugs are addressed in v1.1.11 that has just been
released.


Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2002-06-30 08:46:47 PDT batripler
resolution_id None 2002-06-30 08:46:47 PDT batripler
close_date - 2002-06-30 08:46:47 PDT batripler