沒搞明白send函數(shù)的原理
send函數(shù) 是通過write函數(shù)發(fā)送的響應(yīng)內(nèi)容嗎
? ??def send(self):
? ? ? ? for line in self.wbuf:
? ? ? ? ? ? self.wfile.write(line)
? ? ? ? self.wfile.flush()
? ? ? ? self.wbuf = []
send函數(shù) 是通過write函數(shù)發(fā)送的響應(yīng)內(nèi)容嗎
? ??def send(self):
? ? ? ? for line in self.wbuf:
? ? ? ? ? ? self.wfile.write(line)
? ? ? ? self.wfile.flush()
? ? ? ? self.wbuf = []
舉報(bào)