In spring 3.2, we make use of this in our controllers:
@RequestHeader Map<String, String> headers
The issue is that the map of header keys can be any case, so we have to re-build the header map, forcing the keys to lowercase.
It would be nice if spring would consistently force lowercase or uppercase on the headers in the map in order to make it easier for header checking.
Looking into how to alter that behavior is difficult, same goes for the spring mvc test setups.
We could override the RequestHeaderMapMethodArgumentResolver but how?