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

Ensure the response is not GZIPed #1

Open
thepag opened this issue Mar 8, 2014 · 0 comments
Open

Ensure the response is not GZIPed #1

thepag opened this issue Mar 8, 2014 · 0 comments

Comments

@thepag
Copy link
Member

thepag commented Mar 8, 2014

Had reports of this not allowing seeking on Android, but it turned out to be that their response was being GZIPed. This was causing a few browsers to behave a little odd, but Android really did not like the data like that. .. I imagine other solutions wouldn't either, such as the Flash as already known.

Consider adding this header to smartReadFile() to ensure the output is not GZIPed:

header("Content-Encoding: none");

That way no one else will fall foul to this problem, where their server is automatically GZIPing all the output from PHP files.

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

1 participant