philsturgeon/codeigniter-restserver — pull request #103 by bubbafoley (2012-03-14 00:58:30+00:00)
Title: Fixed #75. Don't send content-length header when output compression is enabled.

If the output is compressed, the content-length header is wrong as it gives the length of the uncompressed output. Modified REST_Controller::response to only send the header when output compression is disabled.

see also: https://bugs.php.net/bug.php?id=44164