spring-native
spring-native copied to clipboard
@RequestHeader not working
Hi.
I have a couple of projects where I use @RequestHeader to fetch a method parameter. Those do not work as far as I can tell (always comes with null value). Neither in webmvc nor webflux.
Workaround is to fetch them through HttpServletRequest.getHeader or ServerWebExchange.getRequest().getHeaders() but it would be nice to get this working.
Is there something I'm missing or is it a bug?
I'll try my first PR for this project with this.