'Call the appropriate WSGI app and write its iterable output.'

def respond(self):

    if self.chunked_read:
        self.rfile.maxlen = self.max_request_body_size
    else:
        cl = int(self.environ.get('CONTENT_LENGTH', 0))
        if self.max_request_body_size:
            self.rfile.maxlen = min(cl, self.max_request_body_size)
        else:
            self.rfile.maxlen = cl
    self.rfile.bytes_read = 0
    try:
        self._respond()
    except MaxSizeExceeded:
        if (not self.sent_headers):
            self.simple_response('413    Request    Entity    Too    Large')
        return
