mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-11-22 13:47:02 +00:00
Compares the content type's type/subtype with the given media type, ignoring case and any parameters, so "Text/HTML; charset=utf-8" matches "text/html" but "text/htmlfoo" doesn't. This replaces ad hoc checks like toLowerCase().startsWith(...), which also match longer subtypes.