spring - Get case insensitive request header value -


from httpservletrequest.getheader("name") how can value irrespective of case ...like specifying name or name etc.

according javadoc, parameter considered case insensitive:

http://docs.oracle.com/javaee/6/api/javax/servlet/http/httpservletrequest.html#getheader%28java.lang.string%29

so example should go, catching both "name" , "name".


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -