Skip to content

Instantly share code, notes, and snippets.

@mislav

mislav/bug.js Secret

Created August 29, 2017 09:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mislav/04ce4b4c266bc8239941f377680a01da to your computer and use it in GitHub Desktop.
Save mislav/04ce4b4c266bc8239941f377680a01da to your computer and use it in GitHub Desktop.
Microsoft Edge bug with fetch
/* Edge/15.15063 */
window.fetch('/', {body:null}).catch(e => console.error(e.message))
//=> "HEAD or GET requests cannot have a body"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment