@content_type.setter
    def content_type(self, value):
        if value:
            self.set_header('CONTENT-TYPE', value)
        else:
            self.unset_header('CONTENT-TYPE')
Set content type for response. This is a shortcut for set_header('Content-Type', value).
dataset/ETHPy150Open michaelliao/transwarp/transwarp/web.py/Response.content_type