搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

I keep getting "Network error when attempting to fetch resource" when I try and log into a website

  • 1 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 techguy150

more options

I keep getting "Network error when attempting to fetch resource" when I try and log into a website I've been on the website today and logged in without problems. Then my session ended and i had to log in again! Now i can't. try clearing cache, restarting etc www.victoriassecret.com

Thanks!

I keep getting "Network error when attempting to fetch resource" when I try and log into a website I've been on the website today and logged in without problems. Then my session ended and i had to log in again! Now i can't. try clearing cache, restarting etc www.victoriassecret.com Thanks!

所有回覆 (1)

more options

Look at the network activity debugger in your browser, or try hitting the URL using curl -v from the terminal.

That will generally help you sort out what headers are being included.

The rule you included would only add those headers to images, not your JSON stuff, but maybe that was just an example?

FWIW, I think it’s way more natural to do this in the python code:

     self.response.headers["Access-Control-Allow-Origin"] = "*"