Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(22)  |  Call(22)  |  Derive(0)  |  Import(0)

src/z/o/Zope2-2.13.22/src/ZServer/PCGIServer.py   Zope2(Download)
            if self.size==0:
 
                DebugLogger.log('I', id(self), 0)
 
                self.set_terminator('\r\n')
            self.data=StringIO()
 
            DebugLogger.log('B', id(self),
                '%s %s' % (self.env['REQUEST_METHOD'],
                           self.env.get('PATH_INFO' ,'/')))
        else:
 
            DebugLogger.log('I', id(self), self.terminator)
 
            # we're done, we've got both env and stdin
    def close(self):
        if not self._channel.closed:
            data=self._data.getvalue()
            l=len(data)
            DebugLogger.log('A', id(self._channel),

src/z/o/Zope-HEAD/src/ZServer/PCGIServer.py   Zope(Download)
            if self.size==0:
 
                DebugLogger.log('I', id(self), 0)
 
                self.set_terminator('\r\n')
            self.data=StringIO()
 
            DebugLogger.log('B', id(self),
                '%s %s' % (self.env['REQUEST_METHOD'],
                           self.env.get('PATH_INFO' ,'/')))
        else:
 
            DebugLogger.log('I', id(self), self.terminator)
 
            # we're done, we've got both env and stdin
    def close(self):
        if not self._channel.closed:
            data=self._data.getvalue()
            l=len(data)
            DebugLogger.log('A', id(self._channel),

src/z/o/Zope2-2.13.22/src/ZServer/FCGIServer.py   Zope2(Download)
                else:
                    path=''
                DebugLogger.log('B', id(self), '%s %s' % (method, path))
 
                self.remainingRecs = self.remainingRecs - 1
            # We've got them all.  Let ZPublisher do its thang.
 
            DebugLogger.log('I', id(self), self.stdin.tell())
 
            # But first, fixup the auth header if using newest mod_fastcgi.
    def log_request(self, bytes):
 
        DebugLogger.log('E', id(self))
 
        if self.env.has_key('HTTP_USER_AGENT'):
    def _finish(self):
        self.channel.reply_code=self.status
 
        DebugLogger.log('A', id(self.channel), '%d %d' % (
                self.status, self.stdout.length))

src/z/o/Zope-HEAD/src/ZServer/FCGIServer.py   Zope(Download)
                else:
                    path=''
                DebugLogger.log('B', id(self), '%s %s' % (method, path))
 
                self.remainingRecs = self.remainingRecs - 1
            # We've got them all.  Let ZPublisher do its thang.
 
            DebugLogger.log('I', id(self), self.stdin.tell())
 
            # But first, fixup the auth header if using newest mod_fastcgi.
    def log_request(self, bytes):
 
        DebugLogger.log('E', id(self))
 
        if self.env.has_key('HTTP_USER_AGENT'):
    def _finish(self):
        self.channel.reply_code=self.status
 
        DebugLogger.log('A', id(self.channel), '%d %d' % (
                self.status, self.stdout.length))

src/z/o/Zope2-2.13.22/src/ZServer/HTTPServer.py   Zope2(Download)
    def handle_request(self,request):
        self.hits.increment()
 
        DebugLogger.log('B', id(request), '%s %s' % (request.command.upper(), request.uri))
 
        else:
            s=0
        DebugLogger.log('I', id(request), s)
 
        env=self.get_environment(request)
        else:
            s=0
        DebugLogger.log('I', id(request), s)
 
        env=self.get_environment(request)

src/z/o/Zope-HEAD/src/ZServer/HTTPServer.py   Zope(Download)
    def handle_request(self,request):
        self.hits.increment()
 
        DebugLogger.log('B', id(request), '%s %s' % (request.command.upper(), request.uri))
 
        else:
            s=0
        DebugLogger.log('I', id(request), s)
 
        env=self.get_environment(request)
        else:
            s=0
        DebugLogger.log('I', id(request), s)
 
        env=self.get_environment(request)