jdaugherty commented on code in PR #15801:
URL: https://github.com/apache/grails-core/pull/15801#discussion_r3505927902
##########
grails-controllers/src/main/groovy/grails/artefact/controller/support/ResponseRenderer.groovy:
##########
@@ -134,7 +134,7 @@ trait ResponseRenderer extends WebAttributes {
GrailsWebRequest webRequest = (GrailsWebRequest)
RequestContextHolder.currentRequestAttributes()
HttpServletResponse response = webRequest.currentResponse
webRequest.renderView = false
- applyContentType(response, null, object)
+ applyContentType(response, null, object, true, 'text/plain')
Review Comment:
If the content type is unknown, why are we rendering something else?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]