Removes headers middleware options
This commit is contained in:
parent
5632ee6378
commit
526f493e12
15 changed files with 7 additions and 32 deletions
|
@ -201,7 +201,6 @@ func TestDo_dynamicConfiguration(t *testing.T) {
|
|||
AccessControlAllowCredentials: true,
|
||||
AccessControlAllowHeaders: []string{"foo"},
|
||||
AccessControlAllowMethods: []string{"foo"},
|
||||
AccessControlAllowOrigin: "foo",
|
||||
AccessControlAllowOriginList: []string{"foo"},
|
||||
AccessControlAllowOriginListRegex: []string{"foo"},
|
||||
AccessControlExposeHeaders: []string{"foo"},
|
||||
|
|
|
@ -144,7 +144,6 @@
|
|||
"accessControlAllowMethods": [
|
||||
"foo"
|
||||
],
|
||||
"accessControlAllowOrigin": "xxxx",
|
||||
"accessControlAllowOriginList": [
|
||||
"xxxx"
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue