AnsweredAssumed Answered

Does Akamai CDN support Vary: Origin?

Question asked by Sarge Sargent on Apr 11, 2017
Latest reply on Apr 19, 2017 by B-C-NJYAFF

There are several sites that throw CORS-related errors similar to:

 

The 'Access-Control-Allow-Origin' header has a value 'http://staging.foo.com' that is not equal to the supplied origin. Origin 'http://www.foo.com' is therefore not allowed access.

 

One recommended fix for this is to use the Vary response header to control cached response of the Origin header, e.g.:

   Vary: Origin

 

I've seen other community posts asking about Akamai's Vary header support but not in conjunction with CORS Origin header or this specific error message.

Outcomes