Hello guys, I use RefineryCMS 3.0 (rails 4.2.0) with refinerycms-podcast 1.0 gem (which is designed to be used with iTunes Connect) on Heroku. I store my media on AWS S3 and use AWS Cloudfront CDN.
I want to use iTunes Connect to distribute my podcasts, but I encounter the error “Your episodes are hosted on a server which does not support byte-range requests” on the iTunes side. In fact this means that the podcast files don’t available for partial content downloading (if you do GET request for this file with byte-range param you get HTTP answer “200 OK” instead of “206 Partial Content”).
I am 99% sure that the problem is with RefineryCMS, since AWS S3 supports byte-range requests, as well as AWS CloudFront. I tested it, for example if you request the file directly from S3 you have 206 answer, but if you request it through RefineryCMS like this (example.com/system/images/W1siZ...JdXQ/Inspiring%20figures-01.png?sha=8afd0a0ae73e58a5), you got 200 answer.
So, basically the file is the same, but if it’s requested through RefineryCMS, you get 200 instead of 206 and iTunes doesn’t accept this.