Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

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

  • 1 svar
  • 1 har detta problem
  • 1 visning
  • Senaste svar av 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!

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