use media-typer to parse content-type for charset