Web Security · Middle · Question 34 of 75

When the response depends on the request Origin, which header should the server add?

Explanation

Without Vary: Origin, a CDN or browser cache can serve a response with one origin's CORS headers to another origin.

Further reading

Problem with a question

Web Security · Middle · question 34

Test yourself

Take the Web Security · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz