def get_headers(self):
        if self.length:
            rv = [("Content-Length", str(self.length))]
        else:
            rv = []
        if self.mimetype:
            rv.append(("Content-Type", "%s; charset=%s" % (self.mimetype, self.charset)))
        return rv
dataset/ETHPy150Open kdart/pycopia/WWW/pycopia/WWW/middleware/POMadapter.py/WSGIAdapter.get_headers/original