Record: CorsConfig
Represent CORS configurations for internal HTTP service
Closed record
Fields
- Fields Included from *CorsConfig
- allowHeaders string[ ]
- allowMethods string[ ]
- allowOrigins string[ ]
- exposeHeaders string[ ]
- allowCredentials boolean
- maxAge decimal
The array of allowed headers by the service
The array of allowed methods by the service
The array of origins with which the response is shared by the service
The allowlisted headers, which clients are allowed to access
Specifies whether credentials are required to access the service
The maximum duration to cache the preflight from client side