CORS

96 views
Skip to first unread message

Lee Mighdoll

unread,
Mar 20, 2015, 5:15:49 PM3/20/15
to spray...@googlegroups.com
I wrote a cors directive while back. The directive worked successfully for some internal uses, no promises on it being complete or correct. Still, it might be useful for you too. Enjoy.

(PS - Has anyone written a canonical cors directive yet? I took a quick look around but didn't find one.)


Mathias Doenitz

unread,
Mar 22, 2015, 8:02:25 AM3/22/15
to spray...@googlegroups.com
Thanks for the pointer, Lee!
Your solution looks very clean.
(I haven’t had time to look at it in detail though.)

> (PS - Has anyone written a canonical cors directive yet? I took a quick look around but didn't find one.)

We (the spray team) haven’t taken on CORS ourselves yet, but the topic already came up a few times on this list.
And just yesterday there was this tweet pointing to another solution:
https://twitter.com/coderwall/status/579372102484119552

Cheers,
Mathias

---
mat...@spray.io
http://spray.io

On 20.3.2015, at 22:15, Lee Mighdoll <l...@underneath.ca> wrote:

> I wrote a cors directive while back. The directive worked successfully for some internal uses, no promises on it being complete or correct. Still, it might be useful for you too. Enjoy.
>
> (PS - Has anyone written a canonical cors directive yet? I took a quick look around but didn't find one.)
>
>
>
> --
> You received this message because you are subscribed to the Google Groups "spray.io User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to spray-user+...@googlegroups.com.
> Visit this group at http://groups.google.com/group/spray-user.
> To view this discussion on the web visit https://groups.google.com/d/msgid/spray-user/CAPif6rW9900CAZ900%2BfJ3uj%2Byd61WOa1xLAMGxW4%2B5uqApFKXg%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages