peej/tonic — pull request #56 by JackWink (2011-10-28 18:53:05+00:00)
Title: Support for Gzip + 304 handling

I've just added a `$compress` variable to the response that defaults to false.

If you set it to true, it gets gzipped.

304 as per http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html should not include a body, so I've added a conditional to make sure the response code isn't a 304 before echoing the body.