RemoLiechti commented on code in PR #62: URL: https://github.com/apache/sling-org-apache-sling-engine/pull/62#discussion_r2109055218
########## src/main/java/org/apache/sling/engine/impl/SlingHttpServletResponseImpl.java: ########## @@ -325,7 +330,7 @@ private String getCurrentStackTrace() { @Override public void setContentType(final String type) { - if (super.getResponse().isCommitted() || !isInclude()) { + if (super.isCommitted() || !isInclude()) { Review Comment: this was introduced to avoid false positives because when the response is commited, changes to the content type are ignored -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org