Option to insert CORS allowance header in responses
Need an option such as 'enableCORS' (or similar to match other options) boolean to control the inclusion of:
in all responses.
Default to TRUE.
#3 Updated by Robert Weekly over 6 years ago
- Resolution set to Fixed
- Status changed from Resolved to Closed
Looks good, closing ticket.
corsEnabled=TRUE (or omitting the parameter from the service configuration file) results in the presence of the line (
Access-Control-Allow-Origin: *) in the HTTP header. Setting
corsEnabled=FALSE removes that line from the HTTP header.