In pylons project when I do request.accept_language.best_matches(), it is returning me Null. I have set 2 languages in browser (en-us and es-ar) by going to Preferences-Content- Languages in firefox.
How can I get the languages specified in the browser?
repr(request.accept_language)
gives <NilAccept: <class 'webob.acceptparse.Accept'>>