Skip to content

1.1.2

Latest

Choose a tag to compare

@ExeQue ExeQue released this 17 Oct 12:18
· 2 commits to main since this release
ebe3502

Fixes #7: toResponse() no longer throws ini_set(): Cannot change zlib.output_compression - headers already sent after every download under PHP-FPM and other SAPIs that send output.

zlib.output_compression is turned off only when it is on, and it is left off afterwards. PHP refuses to change it once output has gone out, and it resets the setting itself when the request ends.