Answer the question
In order to leave comments, you need to log in
Why do they get into the cache without Access-Control-Allow-Origin?
Symphony's Api uses the nelmio_cors bundle - it puts headers in accordance with 'Origin', but requests without Access-Control-Allow-Origin in the response somehow got there, which causes a CORS error in the browser.
vary: ['Accept', 'Content-Type', 'Origin']
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question