server icon indicating copy to clipboard operation
server copied to clipboard

[WebDAV] Add "Accept-Ranges: bytes" header

Open rfc2822 opened this issue 2 years ago • 1 comments

Nextcloud seems to support range requests (partial downloads), but it doesn't seend an Accept-Ranges: bytes header.

It could add such a header to HEAD (and maybe other) responses for WebDAV files to advertise this support.

In case of DAVx5, DAVx5 can open a resource in random-access mode instead of the less flexible streaming mode when DAVx5 knows that the server supports ranged requests.

rfc2822 avatar Dec 29 '23 20:12 rfc2822

https://github.com/nextcloud/server/blob/c9611c0f5d08cc0a41fb7018cb5691dd71b2cea0/lib/private/legacy/OC_Files.php#L86

solracsf avatar Dec 30 '23 12:12 solracsf