HTTP接受语言字段中的语言顺序是否重要? [英] Does the order of the languages matter in the HTTP Accept-language field?

查看:158
本文介绍了HTTP接受语言字段中的语言顺序是否重要?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道Accept语言中实际语言的顺序是否重要。例如,如果我们的HTTP GET消息包含标题:

I was wondering if the order of the actual languages in the Accept-language matters. For example, if our HTTP GET message contained the header:

Accept-Language: en-us, en-gb;q=0.2, en;q=0.3, fr, fr-ch, da, fi

...会浏览器更喜欢传统法语(fr)而不是瑞士法语(fr-ch),即使它们都没有提到相对质量因子q,因此也是1.

...would the browser prefer Traditional French (fr) over Swiss French (fr-ch) even though they both have no Relative Quality Factor q mentioned, and hence would be 1.

推荐答案

不,排序无关紧要。

这篇关于HTTP接受语言字段中的语言顺序是否重要?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆