fetch() upload streaming

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.

Documentation

Specification

Working draft or equivalent

Status in Chromium

Blink>Network>FetchAPI


Origin trial (tracking bug) in:

  • Chrome for desktop release 85
  • Chrome for Android release 85
  • Android WebView release 85

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owner

Comments

A web developer gRPC already agrees to participate this experiment: https://github.com/whatwg/fetch/issues/966#issuecomment-608128154

Last updated on 2020-10-06