def strip_charset(content_type):
    """ Strip charset from the content type string.

    :param content_type: The Content-Type string (possibly with charset info)
    :returns: The Content-Type string without the charset information
    """

    return content_type.split(';')[0]