Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

@RequestHeader not working #441

Closed
grekier opened this issue Jan 11, 2021 · 1 comment · Fixed by #442
Closed

@RequestHeader not working #441

grekier opened this issue Jan 11, 2021 · 1 comment · Fixed by #442
Labels
type: compatibility Native image compatibility issue
Milestone

Comments

@grekier
Copy link
Contributor

grekier commented Jan 11, 2021

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?

@grekier
Copy link
Contributor Author

grekier commented Jan 11, 2021

I'll try my first PR for this project with this.

@sdeleuze sdeleuze added this to the 0.9.0 milestone Jan 12, 2021
@sdeleuze sdeleuze added the type: compatibility Native image compatibility issue label Jan 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: compatibility Native image compatibility issue
Development

Successfully merging a pull request may close this issue.

2 participants