spring-boot/spring-boot-project
Phillip Webb 418dd1ba5b Return 406 status code if welcome page is not accepted
Add `WelcomePageNotAcceptableHandlerMapping` which will return
an HTTP 406 status if a suitable welcome page is found but
cannot be accepted for the request.

An additional mapper is used so that we don't need to change
the order of the `WelcomePageHandlerMapping`. It's possible
that users may have additional root handler mappings
registered to run after the `WelcomePageHandlerMapping`
and we still need to respect those.

Fixes gh-35552
2023-05-18 08:55:45 +01:00
..
spring-boot Test compatibility with SnakeYAML 1.32 and 1.33 versions 2023-05-15 10:15:51 -07:00
spring-boot-actuator Polish 2023-05-12 13:01:30 -07:00
spring-boot-actuator-autoconfigure Merge branch '2.6.x' into 2.7.x 2023-05-15 22:20:23 -07:00
spring-boot-autoconfigure Return 406 status code if welcome page is not accepted 2023-05-18 08:55:45 +01:00
spring-boot-cli Merge branch '2.5.x' into 2.6.x 2023-05-10 23:33:42 -07:00
spring-boot-dependencies Upgrade to Json-smart 2.4.11 2023-05-18 08:17:37 +01:00
spring-boot-devtools Update copyright year of changed files 2023-05-02 14:52:12 -07:00
spring-boot-docs Polish "Improve formatting of Kotlin permitAll example" 2023-05-17 10:12:05 +01:00
spring-boot-parent Add more possibilities to prohibit version upgrades 2023-01-12 16:08:06 +01:00
spring-boot-properties-migrator Reformat code following spring-javaformat upgrade 2023-02-21 22:53:27 -08:00
spring-boot-starters Polish gradle formatting 2023-04-10 21:14:09 -07:00
spring-boot-test Ignore non-singleton factory beans when resetting mocks 2023-05-05 18:21:04 +01:00
spring-boot-test-autoconfigure Update Couchbase image tag used in tests 2023-05-05 14:45:58 -05:00
spring-boot-tools Update copyright year of changed files 2023-05-12 13:01:43 -07:00