public MediaType withoutParameters() {
        return parameters.isEmpty() ? this : create(type, subtype);
    }
Returns a new instance with the same type and subtype as this instance, but without any
parameters.
core/src/main/java/com/linecorp/armeria/common/MediaType.java