未验证 提交 259dc6ad 编写于 作者: J Jake Champion 提交者: GitHub

Add keepalive caveat

Closes https://github.com/github/fetch/issues/780
上级 b65ed608
......@@ -192,6 +192,8 @@ fetch('/avatars', {
* Not all Fetch standard options are supported in this polyfill. For instance,
[`redirect`](#redirect-modes) and
[`cache`](https://github.github.io/fetch/#caveats) directives are ignored.
* `keepalive` is not supported because it would involve making a synchronous XHR, which is something this project is not willing to do. See [issue #700](https://github.com/github/fetch/issues/700#issuecomment-484188326) for more information.
#### Handling HTTP error statuses
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册