【发布时间】:2018-10-02 17:58:24
【问题描述】:
有点奇怪。
我注意到一些查询字符串在我网站上的页面加载时停止工作。检查 chrome 和 firefox 的网络控制台后,我可以看到该页面正在返回 403 禁止错误。这很奇怪,因为页面似乎正在正确加载(除了查询字符串不适用于页面加载)。
这似乎是网站上唯一的页面。
响应标头:
cache-control: no-cache, must-revalidate, max-age=0
cf-cache-status: MISS
cf-ray: 463904819f55a71f-DUB
content-encoding: br
content-type: text/html; charset=UTF-8
date: Tue, 02 Oct 2018 17:51:33 GMT
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
expires: Wed, 11 Jan 1984 05:00:00 GMT
link: <https://ygoprodeck.com/wp-json/>; rel="https://api.w.org/", <https://ygoprodeck.com/?p=7620>; rel=shortlink
pragma: no-cache
server: cloudflare
status: 403
vary: Accept-Encoding,Cookie,User-Agent
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
x-ua-compatible: IE=edge,chrome=1
x-xss-protection: 1; mode=block
我不确定它是如何同时获得 403 和正确加载的,这很奇怪。
【问题讨论】:
标签: networking http-status-code-403