human
Complete this python program:
def _resp_content_type_property():
assistant
#Here is the Python code you requested.

    """Set and retrieve Response.content_type
    Strips off any charset when retrieved -- that is accessible
    via Response.charset.
    """
    def getter(self):
        if ('content-type' in self.headers):
            return self.headers.get('content-type').split(';')[0]
    def setter(self, value):
        self.headers['content-type'] = value
    return property(getter, setter, doc='Retrieve    and    set    the    response    Content-Type    header')