The Spring Boot 2.2 migration guide (https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.2-Release-Notes#deprecations-in-spring-boot-22) is not mentioning that server.use-forward-headers is now deprecated. (I noticed it because IntelliJ marked it in my application.properties file).
I found that it is related to #5677 and has been replaced with server.forward-headers-strategy which has options native, framework or none.
I mainly would like to know what I should use if I have the current setting at true. Should I use native or framework and what is the difference?
The Spring Boot 2.2 migration guide (https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.2-Release-Notes#deprecations-in-spring-boot-22) is not mentioning that
server.use-forward-headersis now deprecated. (I noticed it because IntelliJ marked it in myapplication.propertiesfile).I found that it is related to #5677 and has been replaced with
server.forward-headers-strategywhich has optionsnative,frameworkornone.I mainly would like to know what I should use if I have the current setting at
true. Should I usenativeorframeworkand what is the difference?