MekelCon opened a new pull request, #8587: URL: https://github.com/apache/apisix/pull/8587
### Description In the response.lua, improve management of the content type of the response. If the response is a json, and if the original request accept it, we set the content-type to "application/json". In other case we keep the old response type (text/plain) Fixes # (8511) ### Checklist - [x] I have explained the need for this PR and the problem it solves - [x] I have explained the changes or the new features added to this PR - [x] I have added tests corresponding to this change - [?] I have updated the documentation to reflect this change - [?] I have verified that this change is backward compatible (If not, please discuss on the [APISIX mailing list](https://github.com/apache/apisix/tree/master#community) first) -- 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]
