0

我用chrome登陆sf的时候经常报错,拿不到css和一些js,只有html解构。

console里拿到的报错,这是怎么回事?

Failed to load resource: the server responded with a status of 405 ()
responsive.css:1 Failed to load resource: the server responded with a status of 405 ()
20190705.png:1 Failed to load resource: the server responded with a status of 405 ()
static.segmentfault.com/sponsor/20190705.js:1 Failed to load resource: the server responded with a status of 405 ()
index.min.js:1 Failed to load resource: the server responded with a status of 405 ()
ads.min.js:1 Failed to load resource: the server responded with a status of 405 ()
appQrcode.png:1 Failed to load resource: the server responded with a status of 405 ()
index.css:1 Failed to load resource: the server responded with a status of 405 ()
index.min.js:1 Failed to load resource: the server responded with a status of 405 ()
static.segmentfault.com/sponsor/20190705.js:1 Failed to load resource: the server responded with a status of 405 ()
ads.min.js:1 Failed to load resource: the server responded with a status of 405 ()
assets.js:1 Failed to load resource: the server responded with a status of 405 ()
static.segmentfault.com/sponsor/20190705.js:1 Failed to load resource: the server responded with a status of 405 ()
upload-images.jianshu.io/upload_images/2509688-4914db89b4ee5b96.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240:1 Failed to load resource: the server responded with a status of 403 ()
upload-images.jianshu.io/upload_images/15081804-257f7f05333e6962.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240:1 Failed to load resource: the server responded with a status of 403 ()
assets.js:1 Failed to load resource: the server responded with a status of 405 ()
index.min.js:1 Failed to load resource: the server responded with a status of 405 ()
ads.min.js:1 Failed to load resource: the server responded with a status of 405 ()
static.segmentfault.com/v-5cc2cd8e/global/img/favicon.ico:1 Failed to load resource: the server responded with a status of 405 ()
The resource https://pagead2.googlesyndication.com/pagead/js/r20190626/r20190131/show_ads_impl.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
global.css:1 Failed to load resource: the server responded with a status of 405 ()
index.css:1 Failed to load resource: the server responded with a status of 405 ()
responsive.css:1 Failed to load resource: the server responded with a status of 405 ()
2019-07-05 提问
2 个回答
0

把chrome重新安装一下试试

0

根据MDN上的解释,405是请求的方法错了。

你可以在network面板看看,你发起这些资源请求的方法对不对,正确的话应该是get的。

会不会是你的浏览器有什么插件还是什么?

撰写答案

推广链接