Hi,

For the first time in my looooong-Cocoon history, I tried to use the ResourceReader in combination with Range/Content-Range headers for video streaming.

It seems to me that the implementation does not respect the HTTP spec.
According to the spec, asking for a 100 bytes resource with header

    Range "bytes=0-"

should respond

    Content-Range "bytes 0-99/100"

where Cocoon currently responds

    Content-Range "0-100/100"

Does someone already use this feature ? Was it working ?
I could patch, but I don't want to break anything.

Regards,

--
Cédric Damioli
CMS - Java - Open Source
www.ametys.org

Reply via email to