When downloading media assets from any server meldCX Downloader will attempt to fetch the file in smaller pieces and immediately write it to the filesystem. This way in the case of a poor internet connection it will not request a large amount of data in the one hit, which can potentially fail and result in having to start again. Sometimes a device can get stuck in this download loop where it actually never gets the entire file. This is where the meldCX Downloader come in to avoid this potential case and enable download resume to pick up where the last file download left off.
To enable downloader range requests on your server you will need to add the following headers to your HTTP web server.
Recommended headers that you should add to your server:
Accept-Ranges:bytes
Access-Control-Allow-Headers:origin, content-type, range, if-modified-since, if-unmodified-since, if-none-match, if-match, keep-alive, cache-control
Access-Control-Allow-Methods:OPTIONS, HEAD, GET
Access-Control-Allow-Origin:*
Access-Control-Expose-Headers:content-type, content-length, content-disposition, accept-ranges, content-range, expires, cache-control
Please see details on how to add headers below for your relevant system.
Comments
0 comments
Please sign in to leave a comment.