ignore case when checking content type