问题描述
有一点我不明白。显然,地址 http://www.google.com
返回 200(尽管是 http!):
curl -s -I -X GET http://www.google.com
HTTP/1.1 200 OK
Date: Thu,08 Jul 2021 14:17:46 GMT
Expires: -1
Cache-Control: private,max-age=0
Content-Type: text/html; charset=ISO-8859-1
P3P: CP="This is not a P3P policy! See g.co/p3phelp for more info."
Server: gws
X-XSS-Protection: 0
x-frame-options: SAMEORIGIN
Set-Cookie: NID=218=xyz...
expires=Fri,07-Jan-2022 14:17:46 GMT; path=/; domain=.google.com; HttpOnly
Accept-Ranges: none
vary: Accept-Encoding
transfer-encoding: chunked
但是当我尝试使用浏览器打开页面时,我确实被重定向到 https://www.google.com/
。如果没有 3xx 返回码,这怎么可能?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)