rack-cors icon indicating copy to clipboard operation
rack-cors copied to clipboard

Log warning when a CORS actual request performs a redirect

Open cyu opened this issue 11 years ago • 0 comments

It appears redirects on CORS actual requests are not allowed according to the CORS spec: http://www.w3.org/TR/cors/#cross-origin-request-with-preflight-0 (step 3). To avoid confusion, log a warning when this is happening and debug: true.

This issue was originally brought up in issue #33

cyu avatar Nov 17 '14 17:11 cyu