w.Header().Set("Access-Control-Allow-Origin", "*")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"
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.
Can you create a stand alone program that shows the problem?
Dave