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.
The text was updated successfully, but these errors were encountered:
I noticed that responses always include the
Access-Control-Expose-Headers
header even ifOptions.ExposedHeaders
is 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-Headers
to be omitted if noOptions.ExposedHeaders
value is set. If this is indeed a bug, I have a solution and can submit a PR to fix this.The text was updated successfully, but these errors were encountered: