Reason: Multiple CORS header 'Access-Control-Allow-Origin' not allowed

I volontari di MDN non hanno ancora tradotto questo articolo in Italiano. Unisciti a noi e traducilo tu stesso.
Puoi anche consultare l’articolo in English (US).

Reason

Reason: Multiple CORS header ‘Access-Control-Allow-Origin’ not allowed

What went wrong?

More than one Access-Control-Allow-Origin header was sent by the server. This isn't allowed.

If you have access to the server you can change your implementation to echo back an origin in the Access-Control-Allow-Origin header. You cannot send back a list of origins, because browsers only accept a value that is either a single origin or null

See also

Tag del documento e collaboratori

Hanno collaborato alla realizzazione di questa pagina: mdnwebdocs-bot, sideshowbarker, ChristopherHackett, SteveReiter, Sheppy
Ultima modifica di: mdnwebdocs-bot,