In the HTTP CORS spec, what's the difference between 5.6 Access-Control-Allow-Headers and 5.3 Access-Control-Expose-Headers?
[Allow-Headers] header indicates, as part of the response to a preflight request, which header field names can be used during the actual request
UPDATE: I was hoping someone would tell me one of these headers is sent for every request (pre-flight)... However, there is yet another header that is used for that: 5.9 Access-Control-Request-Headers
[Request-Headers] header indicates which headers will be used in the actual request as part of the preflight request
BTW, I love how they (W3C) carefully worded 5.9 so that the request header can have a field called _Something_ Request Header
.
I'm completely lost in the spec, is there a diagram where I can understand this process better?