0

I am setting the value of Accept-Language : en-gb, in my REST Http call, but when I am trying to fetch the locale in my code, it is showing null.

Accept-Language : en-gb
Accept-Language: da, en-gb;q=0.8, en;q=0.7 

In the code

httpServletRequest.getLocale() is always coming as null.

What could be the possible reason ?

Vineet Singla
  • 1,609
  • 2
  • 20
  • 34

0 Answers0