Hi Tim,
thanks for the reminder.
On Thu, Mar 6, 2014 at 5:55 PM, Tim Bennett <
benn...@gmail.com> wrote:
> So, it seems as though spray should perhaps not allow multiple origins in
> the Access-Control-Allow-Origin header to prevent issues.
maybe there's also a middle-ground: model the header as generally as
the grammar would allow but still don't ever generate headers with
multiple origins. To this end, maybe we could make the constructors
private and add zero and single argument apply methods to the
companion and something with a more warning name if you *really* want
to create one with multiple origins. I created a ticket to track this:
https://github.com/spray/spray/issues/814
However, as we cannot do this in a binary compatible way we probably
won't do it right now but consider it for the next version.
--
Johannes
-----------------------------------------------
Johannes Rudolph
http://virtual-void.net