Re: [whatwg/fetch] Request body streams that cannot be retried (#538)

Bodies already have to be replayed on certain redirects, as comment #1 notes.  Chrome also replays bodies on certain errors when sending a POST on a reused socket (In the case of errors that could mean the server timed out the socket racily with our decision to reuse of the socket) - I had assumed other browsers do that as well, or only use fresh sockets with POSTs, which doesn't seem to work with H2.

Chrome's blob code allows upload bodies to be kept as on-disk objects and streamed as uploads from there.  I'm not sure if this applies to all web-initiated uploads, just the ones that explicitly create and upload a blob, any upload with a sufficiently large body.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/538#issuecomment-552438745

Received on Monday, 11 November 2019 13:09:00 UTC