We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5ca7390 + c14e4d2 commit 112a441Copy full SHA for 112a441
grails-web-sitemesh/src/main/groovy/org/grails/web/sitemesh/GrailsContentBufferingResponse.java
@@ -56,6 +56,9 @@ public void setContentType(String contentType) {
56
this.contentProcessor = contentProcessor;
57
this.webAppContext = webAppContext;
58
pageResponseWrapper = (GrailsPageResponseWrapper) getResponse();
59
+ if (response.getContentType() != null) {
60
+ webAppContext.setContentType(response.getContentType());
61
+ }
62
}
63
64
public HttpServletResponse getTargetResponse() {
0 commit comments