Function is_text_mime_type
boost::taar::is_text_mime_type — True for media types whose content is text and benefits from a charset.
Synopsis
bool is_text_mime_type(std::string_view type);
Description
text/ types, application/json, application/javascript, application/xml, application/manifest+json, application/ld+json, application/xhtml+xml, application/yaml, application/toml and image/svg+xml. Parameters in type are ignored; comparison is case-insensitive.