lookup> Access-Control-Allow-Headers

Access-Control-Allow-Headers

indicates, as part of the response to a preflight request, which header field names can be used during the actual request

响应头CORS
NameAccess-Control-Allow-Headers
Type响应头
SpecificationCORS

indicates, as part of the response to a preflight request, which header field names can be used during the actual request

Access-Control-Allow-Headers: Content-Type, Authorization

CORS

What does the Access-Control-Allow-Headers header do?

indicates, as part of the response to a preflight request, which header field names can be used during the actual request

Is Access-Control-Allow-Headers a request or response header?

It is classified as a response header and can appear in requests or responses depending on context.