r0man / ring-cors

Ring middleware for Cross-Origin Resource Sharing.
http://github.com/r0man/ring-cors
166 stars 44 forks source link

Remove dependency on ring-core #19

Closed jeluard closed 7 years ago

jeluard commented 7 years ago

ring-cors depends on ring-core for the sole method get-header.

It would be nice to drop this dependency and simply copy the code in ring-cors for 2 reasons:

What do you think? I can create a PR if needed.

r0man commented 7 years ago

@jeluard Yes, we can do that. PR welcome!