This is pretty close to a feature request, but it looks like the right place for it and I'm willing to do much of the work.
Is there any interest in making this a general CORS library, i.e. not just a plug.
I think work needed would be
Why.
a) Useful in tests of APIs to check that the headers include the expected CORS headers
b) I, and quite a few others, use Raxx/Ace
This is pretty close to a feature request, but it looks like the right place for it and I'm willing to do much of the work.
Is there any interest in making this a general CORS library, i.e. not just a plug.
I think work needed would be
Code.ensure_loaded?corson hex. It is still available.Why.
a) Useful in tests of APIs to check that the headers include the expected CORS headers
b) I, and quite a few others, use Raxx/Ace