{"action":"created","issue":{"url":"https://api.github.com/repos/barracudanetworks/ArchiveStream-php/issues/22","labels_url":"https://api.github.com/repos/barracudanetworks/ArchiveStream-php/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/barracudanetworks/ArchiveStream-php/issues/22/comments","events_url":"https://api.github.com/repos/barracudanetworks/ArchiveStream-php/issues/22/events","html_url":"https://github.com/barracudanetworks/ArchiveStream-php/issues/22","id":122884316,"number":22,"title":"zip file will not be dowloaded if zlib.output_compression is turned on (zlib.output_compression = On) in php.ini","user":{"login":"hugohuynh","id":2569420,"avatar_url":"https://avatars.githubusercontent.com/u/2569420?v=3","gravatar_id":"","url":"https://api.github.com/users/hugohuynh","html_url":"https://github.com/hugohuynh","followers_url":"https://api.github.com/users/hugohuynh/followers","following_url":"https://api.github.com/users/hugohuynh/following{/other_user}","gists_url":"https://api.github.com/users/hugohuynh/gists{/gist_id}","starred_url":"https://api.github.com/users/hugohuynh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugohuynh/subscriptions","organizations_url":"https://api.github.com/users/hugohuynh/orgs","repos_url":"https://api.github.com/users/hugohuynh/repos","events_url":"https://api.github.com/users/hugohuynh/events{/privacy}","received_events_url":"https://api.github.com/users/hugohuynh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-12-18T05:58:34Z","updated_at":"2016-01-07T05:55:59Z","closed_at":null,"body":"If  zlib.output_compression is turn on by default the zip file can't be download. I have debugged and found that the header can't be sent in  send_http_headers function.\r\n\r\nTo make it works need to turn zlib.output_compression Off\r\nRegards,\r\nTrung"},"comment":{"url":"https://api.github.com/repos/barracudanetworks/ArchiveStream-php/issues/comments/169563208","html_url":"https://github.com/barracudanetworks/ArchiveStream-php/issues/22#issuecomment-169563208","issue_url":"https://api.github.com/repos/barracudanetworks/ArchiveStream-php/issues/22","id":169563208,"user":{"login":"hugohuynh","id":2569420,"avatar_url":"https://avatars.githubusercontent.com/u/2569420?v=3","gravatar_id":"","url":"https://api.github.com/users/hugohuynh","html_url":"https://github.com/hugohuynh","followers_url":"https://api.github.com/users/hugohuynh/followers","following_url":"https://api.github.com/users/hugohuynh/following{/other_user}","gists_url":"https://api.github.com/users/hugohuynh/gists{/gist_id}","starred_url":"https://api.github.com/users/hugohuynh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugohuynh/subscriptions","organizations_url":"https://api.github.com/users/hugohuynh/orgs","repos_url":"https://api.github.com/users/hugohuynh/repos","events_url":"https://api.github.com/users/hugohuynh/events{/privacy}","received_events_url":"https://api.github.com/users/hugohuynh/received_events","type":"User","site_admin":false},"created_at":"2016-01-07T05:55:59Z","updated_at":"2016-01-07T05:55:59Z","body":"Great !.  I put ob_end_clean() before creating ArchiveStream object and it works like a charm!. But is it correct way to fix the problem?\r\n                    "}}