v1.1.0
版本发布时间: 2016-11-15 03:47:44
JakeChampion/fetch最新发布版本:v3.6.20(2023-12-14 07:12:38)
Spec compatibility:
- 1st argument to Request constructor must be string or Request
- Always construct a new Request instance in
fetch()
- Always construct a new Headers instance in Response
- Avoid consuming body when cloning
- Add support for TypedArray/DataView as POST body
- ArrayBuffer, TypedArray, and Dataview bodies can now be accessed through any of the
arrayBuffer()
,text()
, orblob()
methods - Default Response status is 200 OK
Other fixes:
- Make X-Request-URL header case-insensitive
- Allow reusing the same GET Request instance multiple times
- Rework parsing of raw response HTTP headers
- Attach FileReader event handlers before calling its
read*
method