Closed
Description
A recent checkin (d1366f2) stopped Restify's auto handling of OPTIONS
requests. We now have the ability to create them manually.
Although more control is good, manually adding OPTIONS
for every endpoint is cumbersome and (if your application relies on CORS requests) can make it hard to move to Restify v2.
I propose that the auto generated OPTIONS
responses are "on by default" and developers can override the default by specifying server.opts(...)
. It would probably also be good to have a way to globally disable them.
Metadata
Metadata
Assignees
Labels
No labels