Re: I-D Action: draft-ietf-httpbis-resumable-upload-12.txt

I'm not sure why it would be any different? The upload part of it is just
bytes being sent over the wire?

The protocol definitely supports on the fly content. You would start the
upload as normal, receive the 104 with the upload resource location and
then just send data bit by bit once it's available. From a client
perspective you would need to keep some kind of buffer for replaying if the
connection breaks down and you wish to resume. The server will help you
keep the buffer small by sending intermediate responses with how much data
has been received, i.e. how much data in your buffer you can discard.

tus-js-client runs in the browser and supports streaming uploads (e.g.
webcams), at least for the tus protocol.

/Stefan

On Mon, Aug 3, 2026 at 2:10 PM Daniel Stenberg <daniel@haxx.se> wrote:

> On Mon, 3 Aug 2026, Stefan Matsson wrote:
>
> > There are multiple server side implementations of RUFH but none that I
> know
> > of that handle multipart form posts in any specific way compared to any
> > other upload. Most implementations I've looked at (tusd, tusdotnet,
> > SwiftNIO) handle the upload and then pass the complete data to the next
> step
> > in the pipeline (e.g. user code).
> >
> > For tusdotnet this is a .NET stream which can then be parsed as
> multipart
> > data, JSON or whatever.
> >
> > Does this answer your question or am I misunderstanding what you're
> asking?
>
> I'm not entirely sure what I'm asking. :-)
>
> The resumable upload thing looks designed for and probably works great
> when
> you do a simple POST of a complete resource (like an existing file) to the
> other end. Uploads on the web (like with browsers) are however typically
> done
> using multipart formposts and then the stream to send A) gets generated on
> the
> fly and B) contains one or more mime-boundaries that are randomly
> generated.
>
> That A+B combo is complicated for clients to resume. But I presume a test
> server that doesn't care about the format of the upload will be fine too
> as
> then it'll just store the entire upload streams as if it was a single file.
>
> I presume the browsers don't do resumed uploads (yet). Perhaps partly
> because
> of this complication.
>
> --
>
>   / daniel.haxx.se
>

Received on Tuesday, 4 August 2026 07:35:22 UTC