private static boolean containsValue(String expectedValue, List<String> actualValues) {
        final int numActualValues = actualValues.size();
        for (int i = 0; i < numActualValues; i++) {
            if (Ascii.equalsIgnoreCase(expectedValue, actualValues.get(i))) {
                return true;
            }
        }
        return false;
    }
Returns {@code true} if {@code actualParameters} contains all entries of {@code expectedParameters}.
Note that this method does <b>not</b> require {@code actualParameters} to contain <b>only</b> the
entries of {@code expectedParameters}. i.e. {@code actualParameters} can contain an entry that's
non-existent in {@code expectedParameters}.
core/src/main/java/com/linecorp/armeria/common/MediaType.java