The second line, the first rewrite condition, indicates that following rules only apply when the user-agent string in the HTTP request header contains the substring MSIE.
第二行的第一个重写条件表明:下面的规则仅适用于HTTP请求报头中的user - agent字符串包含子字符串msie的情形。
The mechanism chosen, which is not the only possible way to manage this, involves creating a pseudo-MIME type, matching the user-agent string and using Rails' respond_to mechanism.
所选用的机制(并不是惟一的实现方法)涉及创建伪 MIME 类型,匹配用户代理字符串和使用 Rails 的 respond_to 机制。
This automatically reflects the changes in all the places where User-Agent string is being used.
这样就可以在所有 User-Agent 字符串使用的地方反映这个变更了。
应用推荐