go-ipfs-cmds
go-ipfs-cmds copied to clipboard
http tests fail with recent versions of github.com/rs/cors
Namely, when using https://github.com/rs/cors/commit/8dd4211afb5d08dbb39a533b9bb9e4b486351df6 or later.
@lgierth I think you know most about what HTTP headers to expect.
When configured to accept all origins, old versions of rs/cors send an AllowOrigin: <sent Origin>
header. New versions will send AllowOrigin: *
. Should I change the tests to accept both the supplied Origin and * when configured to accept all origins, or do we need to fix something in the code? CORS, like most web "technology", is still bat country to me... :bat: