Project

General

Profile

Feature #724

Option to insert CORS allowance header in responses

Added by Chad Trabant over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
08/14/2015
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

Need an option such as 'enableCORS' (or similar to match other options) boolean to control the inclusion of:

Access-Control-Allow-Origin", "*" 

in all responses.

Default to TRUE.

History

#1 Updated by Mike Stults over 6 years ago

revision 12876 - svn commit -m "updates for issue 724 - implement CORS option, added corsEnabled parameter and issue 473 - provide more clear information when root doc page is not available"

added parameter corsEnabled with a default of true

#2 Updated by Mike Stults over 6 years ago

  • Status changed from New to Resolved

#3 Updated by Robert Weekly over 6 years ago

  • Resolution set to Fixed
  • Status changed from Resolved to Closed

Looks good, closing ticket.

Setting 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.

Also available in: Atom PDF