← Back to release summary
fetch() upload streaming
- Category
- Network / Connectivity
- Type
- New or changed feature
- Status
- Origin trial (Chrome 105)
- Intent stage
- Prepare to ship
Summary
Fetch upload streaming lets web developers make a fetch with a ReadableStream body. Fetch provides a generic definition of Request and Response objects (and other things involved with network requests).
Motivation
Traditionally uploading byte arrays were implemented on WebSocket but it has made client/server code messy. Fetch upload streaming makes that simpler.
Standards & signals
- Specification: https://fetch.spec.whatwg.org/#concept-body-stream
- Firefox: Positive — No signals on the standards-position ticket.
Annevk has been active on the standards discussions.
Positive at TPAC 2019 [1].
- Safari: Support — No signals on the standards-position ticket.
Positive at TPAC 2019 [1].
[1]
https://docs.google.com/document/d/1q090ovJ4gd8wSfVtvuoZLMZ51YkiFDsEZ0Jiqi41Iys/edit#heading=h.85gziabhajhg
- Web developers: Positive — https://github.com/whatwg/fetch/issues/1438#issuecomment-1150755587
https://github.com/whatwg/fetch/issues/1438#issuecomment-1167984830
- Tracking bug: https://bugs.chromium.org/p/chromium/issues/detail?id=688906
Docs: http://bit.ly/3asqra2
Explainers: https://bit.ly/2SVvKbR
View on chromestatus.com