spring-boot/spring-boot-project
Brian Clozel 2f78c72f92 Avoid 406 Not Acceptable for error pages
Prior to this commit, the `ErrorController` would override the original
error response status if the error map cannot be written due to content
negotiation with the HTTP client. In that case, the error handling
infrastructure returns a `406 Not Acceptable` response.

This commit improves the `ErrorController` so that
`HttpMediaTypeNotAcceptableException` instances thrown by that
controller are not returned as is but instead we write the error
response with an empty body and the original HTTP error status.

Fixes gh-19545
See gh-19522
2020-01-06 18:08:35 +01:00
..
spring-boot Fix checkstyle 2020-01-03 11:42:14 -08:00
spring-boot-actuator Simplify some Stream API usages 2019-12-09 11:52:46 +01:00
spring-boot-actuator-autoconfigure Add group property to DynatraceProperties 2019-12-15 08:54:42 +09:00
spring-boot-autoconfigure Avoid 406 Not Acceptable for error pages 2020-01-06 18:08:35 +01:00
spring-boot-cli
spring-boot-dependencies Merge branch '2.1.x' into 2.2.x 2020-01-03 11:19:21 -08:00
spring-boot-devtools
spring-boot-docs Improve Spring MVC auto-configuration section 2020-01-04 11:37:01 +01:00
spring-boot-parent Upgrade to Testcontainers 1.12.4 2019-12-05 11:37:46 +00:00
spring-boot-properties-migrator
spring-boot-starters Add reference to OptaPlanner starter 2020-01-02 13:18:07 +01:00
spring-boot-test Merge branch '2.1.x' into 2.2.x 2019-12-05 16:15:15 +00:00
spring-boot-test-autoconfigure Remove deprecated usage of WebTestClientBuilderCustomizer 2020-01-06 12:59:12 +01:00
spring-boot-tools Polish contribution 2019-12-26 11:17:51 +01:00
pom.xml