prefork.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:SoCFoundationFlow 作者: mattaw 项目源码 文件源码
def send_response(self, ret, out, err, exc):
        if out or err or exc:
            data = (out, err, exc)
            data = cPickle.dumps(data, -1)
        else:
            data = ''

        params = [RES, str(ret), str(len(data))]

        # no need for the cookie in the response
        self.wfile.write(make_header(params))
        if data:
            self.wfile.write(data)
        self.wfile.flush()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号