You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that responses always include the Access-Control-Expose-Headers header even if Options.ExposedHeaders is not set. Running one of the examples, such as examples/gorilla/server.go, produces the following response:
Is this the correct behavior? I would expect Access-Control-Expose-Headers to be omitted if no Options.ExposedHeaders value is set. If this is indeed a bug, I have a solution and can submit a PR to fix this.
I noticed that responses always include the
Access-Control-Expose-Headersheader even ifOptions.ExposedHeadersis not set. Running one of the examples, such asexamples/gorilla/server.go, produces the following response:Is this the correct behavior? I would expect
Access-Control-Expose-Headersto be omitted if noOptions.ExposedHeadersvalue is set. If this is indeed a bug, I have a solution and can submit a PR to fix this.