Re: Draft for Resumable Uploads

Hey

On Sat, Apr 2, 2022 at 3:48 AM Mark Nottingham <mnot@mnot.net> wrote:

> 1xx is exposed in node.js and other JS HTTP implementations. I think what
> you mean is that it won't be implementable using JS in a browser. However,
> the right thing to do there may very well be to implement natively in the
> browser -- assuming that it has to be implementable without changes to
> browsers is an artificial constraint that may not be relevant.
>

Native support for 103 Early Hints in browsers is fine, but when web apps
build on top Fetch, they are immediately restricted by the lack of
visibility into these non-final responses. That limits possible application
of Early Hints, and whatever 1xx code might be used for resumable upload.
This isn't the right forum to specify the definition of Fetch but I wonder
what other innovations could be unlocked if we were able to get over the
hump of it's 1xx restrictions. Maybe it's time to try and push the platform
forward.

Cheers
Lucas

Received on Saturday, 2 April 2022 14:47:41 UTC