RadosGW S3 range on a 0 byte object gives 416 Range Not Satisfiable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux