'Process the current request.'

def respond(self):

    response = self.req.server.wsgi_app(self.env, self.start_response)
    try:
        for chunk in response:
            if chunk:
                if isinstance(chunk, unicodestr):
                    chunk = chunk.encode('ISO-8859-1')
                self.write(chunk)
    finally:
        if hasattr(response, 'close'):
            response.close()
