mirror of
https://github.com/Fishwaldo/huma.git
synced 2025-03-15 19:31:27 +00:00
no need to add these headers in the preflight
This commit is contained in:
parent
77f5928ead
commit
c76cdf9fbe
1 changed files with 0 additions and 2 deletions
|
@ -210,8 +210,6 @@ func TestRouterConfigurableCors(t *testing.T) {
|
|||
|
||||
w := httptest.NewRecorder()
|
||||
req, _ := http.NewRequest(http.MethodOptions, "/echo/world", nil)
|
||||
req.Header.Add("Authorization", "Bearer CAFEBEEF")
|
||||
req.Header.Add("X-Istreamplanet-User-Identity", "identity")
|
||||
req.Header.Add("Origin", "blah")
|
||||
r.ServeHTTP(w, req)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue