opencart/opencart — pull request #1772 by pine3ree (2014-08-21 18:59:49+00:00)
Title: compress() method refactoring

merge http request accept-encoding tests, testing longer match first...
exclude invalid gzencode compression levels ( if ($this->level) evaluates to TRUE for negative values and -1 is an acceptable=zlib-default compression value for gzencode).