Create Cors handler with permissive configuration (#7186)

Create new Cors handler allowing all origins with all standard
methods with any header and credentials.

Fixes #7181
This commit is contained in:
kannappanr
2019-02-05 14:06:52 -08:00
committed by GitHub
parent 9a65f6dc97
commit df418a2783
6 changed files with 101 additions and 98 deletions
+3 -2
View File
@@ -836,9 +836,10 @@
"revisionTime": "2018-08-08T20:39:25Z"
},
{
"checksumSHA1": "hev23KrSfQ4KfosxH+gJKziFVtA=",
"path": "github.com/rs/cors",
"revision": "a62a804a8a009876ca59105f7899938a1349f4b3",
"revisionTime": "2016-06-18T04:49:35+05:30"
"revision": "76f58f330d76a55c5badc74f6212e8a15e742c77",
"revisionTime": "2019-01-16T17:59:10Z"
},
{
"path": "github.com/rs/xhandler",