]> Cypherpunks repositories - gostls13.git/commit
net/http: support streaming POST content in wasm
authorWill Hawkins <whh8b@obs.cr>
Mon, 19 Dec 2022 16:49:33 +0000 (11:49 -0500)
committerGopher Robot <gobot@golang.org>
Wed, 15 Feb 2023 22:02:37 +0000 (22:02 +0000)
commit2994e9aa79718fbb0658ec5f50ee4b69276401d6
tree12a67ce3719e18421287e9eecceeefc84ae638d8
parented370d8720750ad670564079b1e0bcf74f75dd3a
net/http: support streaming POST content in wasm

With new releases of Chrome, Opera and Deno it is possible to stream the
body of a POST request. Add support for using that interface when it is
available.

Change-Id: Ib23d63cd3dea634bd9e267abf4e9a9bfa9c525ad
Reviewed-on: https://go-review.googlesource.com/c/go/+/458395
Auto-Submit: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
src/net/http/roundtrip_js.go