@content_length.setter
    def content_length(self, value):
        self.set_header('CONTENT-LENGTH', str(value))
Set content length, the value can be int or str.
dataset/ETHPy150Open michaelliao/transwarp/transwarp/web.py/Response.content_length