Skip to content

Commit

Permalink
fix test (#10519)
Browse files Browse the repository at this point in the history
The test was broken by the change in the cors library
rs/cors#171

Signed-off-by: Alex Boten <[email protected]>
  • Loading branch information
codeboten authored Jul 2, 2024
1 parent 2d09432 commit 52e75d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/confighttp/confighttp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ func verifyCorsResp(t *testing.T, url string, origin string, set *CORSConfig, ex
req.Header.Set("Origin", origin)
if extraHeader {
req.Header.Set("ExtraHeader", "foo")
req.Header.Set("Access-Control-Request-Headers", "ExtraHeader")
req.Header.Set("Access-Control-Request-Headers", "extraheader")
}
req.Header.Set("Access-Control-Request-Method", "POST")

Expand Down

0 comments on commit 52e75d6

Please sign in to comment.