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
ifs.allowedHeaders==nil {
t.Error("c.allowedHeaders should be nil when Default")
}
ifs.allowedMethods==nil {
t.Error("c.allowedMethods should be nil when Default")
}
We believe the following message is appropriate for this.
ifs.allowedHeaders==nil {
t.Error("c.allowedHeaders must not be nil when Default")
}
ifs.allowedMethods==nil {
t.Error("c.allowedMethods must not nil when Default")
}
The text was updated successfully, but these errors were encountered:
ablankz
added a commit
to ablankz/cors
that referenced
this issue
May 3, 2024
A partial code of
cors_test.go
is shown below.We believe the following message is appropriate for this.
The text was updated successfully, but these errors were encountered: