You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Cédric Damioli (JIRA)" <ji...@apache.org> on 2017/09/20 17:54:00 UTC

[jira] [Created] (COCOON-2357) Content-Range and Range headers

Cédric Damioli created COCOON-2357:
--------------------------------------

             Summary: Content-Range and Range headers
                 Key: COCOON-2357
                 URL: https://issues.apache.org/jira/browse/COCOON-2357
             Project: Cocoon
          Issue Type: Bug
          Components: * Cocoon Core
            Reporter: Cédric Damioli
            Assignee: Cédric Damioli
             Fix For: 2.1.13


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" 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)