Access response headers with CORS enabled
Today, in things we learn:
In case of CORS requests, browsers can only access the following response headers by default: Cache-Control, Content-Language, Content-Type, Expires, Last-Modified, Pragma
Probably some of you knew it already. I didn't.
We move our frontend to a new subdomain and some features (that are based on response headers) broke. Unfortunately I spent some hours trying to figure it out.
Source: https://stackoverflow.com/questions/37897523/axios-get-access-to-response-header-fields