Request headers are automatically set when a web browser issues an HTTP request to an HCP server.
The following table describes the runtime request headers sent by a browser depending on the request type (simple or preflight).
Request header | Description | Request type |
---|---|---|
Origin |
Origin of the cross-domain request. For example, http://www.example.com |
Simple, Preflight |
Access-Control-Request-Method | HTTP method to be used when the request is made. | Preflight |
Access-Control-Request-Headers | Headers used when the request is made. The format for the headers is a comma-separated list. If any of the headers are not contained in a CORS rule, the preflight request and CORS access to the server are denied, and the subsequent request is not issued. | Preflight |
© 2015, 2020 Hitachi Vantara LLC. All rights reserved.