Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

byte range header not supported? #37

Open
uotw opened this issue Aug 21, 2016 · 2 comments
Open

byte range header not supported? #37

uotw opened this issue Aug 21, 2016 · 2 comments

Comments

@uotw
Copy link

uotw commented Aug 21, 2016

I'm trying to deliver video content (mp4) to an iOS device using x-sendfile without success. Apparently I'm not seeing support for a byte range header using this method. When I run a command: curl -I on the php file that should deliver the file, I get no "Accept-Ranges: bytes" return. The documentation states that there is support for ranges.

@flyawaychen
Copy link

flyawaychen commented Aug 31, 2016

I'm having the same issue, even if I manually added the header, it is still getting stripped out when serving the file.

@uotw
Copy link
Author

uotw commented Aug 31, 2016

I ended up switching to nginx using X-Accel-Redirect and it works perfectly for my application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants