请问http-equiv =“刷新”保持引荐者信息和元数据? [英] Does http-equiv="refresh" keep referrer info and metadata?

查看:171
本文介绍了请问http-equiv =“刷新”保持引荐者信息和元数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我设置了这样的页面:

 < html>< head>< meta http-equiv =refreshcontent =0; url = http://internic.net/>< / head>< body>< / body>< / html> 

执行重定向时浏览器是否会发送引用者信息和其他元数据?

$ b 在测试中,Firefox和IE ,但Chrome 不会发送引荐来源(尽管这也是不一致的),而不管它是否进入相同的域。



鉴于我找不到任何规范说明标准行为是什么,W3C通常不鼓励META重定向,米不知道你可以永远依赖这是一致的。


If I set up a page like this:

<html><head><meta http-equiv="refresh" content="0;url=http://internic.net/"></head><body></body></html>

Will the browser send referrer info and other metadata when the redirection is performed?

解决方案

In testing here, Firefox and IE do not but Chrome does send the referrer (though this is inconsistent as well), regardless of whether it's going to the same domain or not.

Seeing as I can't find any spec stating what should be the standard behavior, and W3C in general discourages a META redirect, I'm not sure you can ever depend on this being consistent.

这篇关于请问http-equiv =“刷新”保持引荐者信息和元数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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