Re: [whatwg/fetch] fetch() doesn't properly handle errors from pre-flight responses with CORS (#443)

The latter will issue a CORS preflight and that's not supported by httpbin.org. I get the exact same error with
```js
x = new XMLHttpRequest(); x.open("POST", "https://httpbin.org/post1"); x.setRequestHeader("Content-Type", "application/json");  x.send(); x.onload = console.log; x.onerror = console.log;
```
so this really isn't an API issue.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/443#issuecomment-413140459

Received on Wednesday, 15 August 2018 09:14:05 UTC