Hi

Ceph v16.2.6.

Using GET with Range: bytes=0-1000000 it fails with 416 if the object is 0 byte. I tried reading the http specification[1] on the subject but did not get any wiser unfortunately.

I did a test with curl and range against a 0 byte file on Nginx and it returned 200 OK.

Does anyone know it's correct to return 416 on 0 byte object with range or should this be considered a bug in Ceph.


[1] https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35.1

--
Kai Stian Olstad
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to