src/main/java/org/apache/sling/api/request/builder/impl/SlingHttpServletRequestBuilderImpl.java [187:193]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        final int pos = type == null ? -1 : type.indexOf(SlingHttpServletRequestBuilderImpl.CHARSET_SEPARATOR);
        if (pos != -1) {
            this.contentType = type.substring(0, pos);
            this.characterEncoding =
                    type.substring(pos + SlingHttpServletRequestBuilderImpl.CHARSET_SEPARATOR.length());
        } else {
            this.contentType = type;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/main/java/org/apache/sling/api/request/builder/impl/SlingJakartaHttpServletResponseResultImpl.java [109:115]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            final int pos = type == null ? -1 : type.indexOf(SlingHttpServletRequestBuilderImpl.CHARSET_SEPARATOR);
            if (pos != -1) {
                this.contentType = type.substring(0, pos);
                this.characterEncoding =
                        type.substring(pos + SlingHttpServletRequestBuilderImpl.CHARSET_SEPARATOR.length());
            } else {
                this.contentType = type;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



