示例#1
0
    def finish(self):
        """ Just return apache.OK. Status is set in req.status. """
        RequestBase.finish(self)
        # is it possible that we need to return something else here?
        from mod_python import apache

        return apache.OK
示例#2
0
 def finish(self):
     RequestBase.finish(self)
     # flush the output, ignore errors caused by the user closing the socket
     try:
         sys.stdout.flush()
     except IOError, ex:
         import errno
         if ex.errno != errno.EPIPE:
             raise
示例#3
0
 def finish(self):
     RequestBase.finish(self)
     self.flush()
示例#4
0
 def finish(self):
     """ Call finish method of FastCGI request to finish handling of this request. """
     RequestBase.finish(self)
     self.fcgreq.finish()
示例#5
0
 def finish(self):
     RequestBase.finish(self)
     self.reactor.callFromThread(self.twistd.finish)