Type: Feature Request
Affects Version/s: 6.0.6 GA, 6.0.12 EE
Fix Version/s: None
Component/s: Documents & Media
If an HTTP Get request is made to Liferay's download servlet to stream a resource from the document library (e.g. video files), the servlet does not accept range requests.
The header field definition is:
The Accept-Ranges response-header field allows the server to indicate its acceptance of range requests for a resource:
Accept-Ranges = "Accept-Ranges" ":" acceptable-ranges
acceptable-ranges = 1#range-unit | "none"
Origin servers that accept byte-range requests MAY send
but are not required to do so. Clients MAY generate byte-range requests without having received this header for the resource involved.
Servers that do not accept any kind of range request for a resource MAY send
to advise the client not to attempt a range request.
The reason this is a problem is because video players (like flowplayer) that allow for content to be stream to mobile devices (like iPhone and iPad) require the server to support range requests.
What this basically means is that Liferay as it stands will not allow for video streaming to mobile devices.
I propose that the download servlet be modified to support range requests.