Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

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"] = "*"