couling / WebDAV-Daemon

MIT License
34 stars 7 forks source link

Chunked download & upload supported? #31

Closed dumblob closed 3 years ago

dumblob commented 3 years ago

Is chunked download & upload supported?

Usually only chunked download is being supported (to e.g. "watch video only from the middle without downloading the first half of it"), but I'd need also chunked upload support (as a prerequisite to resumable uploads).

Could you clarify on both?

couling commented 3 years ago

I'm not sure you mean chunked here. I think you are referring to "range-requests" so effectively this is the same as #30 . The server can deliver chunked responses for unknown length content. IE I believe it's possible to download from a unix pipe last time I checked.

AFAIK you can also send a file with chunked transfer encoding.

However what you can't do us upload chunks in separate requests. As noted in #30 I can't see any appropriate headers in HTTP to use for that and it doesn't appear to be supported by the protocol.