Le 16/04/2014 20:25, Thierry FOURNIER a écrit :

Hi Cyril,

The 0 returned is the expected behavior. If no value matches the
converter, than the expression fails. In other way you can
use the default value in the "language" converter itself. I think that
if you write the following expression, you have the expected behavior:

    use_backend  bk_%[req.fhdr(accept-language),\
    language(de;es;fr;en,en),map(language.map)] if TRUE

You're right, I missed the default value for "language" ;-)

--
Cyril Bonté

Reply via email to