I want to use Springs @RequestMapping with the header attribute to detect an Accept
header with the value application/json;version=1.*
. The plan is to have another method mapped similarly for version 2 which will have the value application/json;version=2.*
.
Spring seems to be ignoring the version value. I'm guessing it's treating the equals sign as another header attribute.
Is there a way around this?
Side notes:
- I can't update the Spring version to support the
consumes
attribute - I can't change the format the request header will come in