kolmapäev, 7. detsember 2016 0:30.12 UTC+2 kirjutas paul.h....@gmail.com: > > We have a simple http service running using the net/http package and I > tried setting the Access-Control-Allow-Origin header value as in: > > w.Header().Set("Access-Control-Allow-Origin", "*") > > and when I do so the client side gets an error: "The > 'Access-Control-Allow-Origin' header contains multiple values" >
And how the raw header looks like (at the client side)? So it seems somewhere else the request origin is already added to the > header although I can't find any mention of this in the docs. > Do you use any http middleware / frameworks or is it plain net/http server? ain -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.