content_mime(
value) ->mime
The bare media type of a content-type value
Parameters are dropped, and the result is trimmed and lowercased. A response legitimately names its charset ("text/html; charset=utf-8") while the compression table is keyed by media type alone, so the raw header must never be used as the lookup key. Anything that is not a string, and any value with no media type at all, yields an empty string.