Skip to content

Commit 6fd57ca

Browse files
ColinHarringtongraemerocher
authored andcommitted
Content-Type should not assume a default of text/html See issue #10337
1 parent fa2c56f commit 6fd57ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grails-plugin-controllers/src/main/groovy/grails/artefact/controller/support/ResponseRenderer.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ trait ResponseRenderer extends WebAttributes {
277277
if (isPromise) return
278278
}
279279

280-
applyContentType webRequest.currentResponse, argMap, null
280+
applyContentType webRequest.currentResponse, argMap, null, false
281281

282282
Map model
283283
if (modelObject instanceof Map) {

0 commit comments

Comments
 (0)