/test-fetch

Primary LanguageJavaScript

cloudflare worker redirect bug

  1. npm i
  2. npm start
  3. Run this in chrome
await fetch("http://localhost:8000", {
 headers: { "Authorization": "ligma" }   
})

Now in server 2 you will see the Authorization header was dropped because the origin.