Found a bug in my suggested code in my testing. Content-Type isn't always set.

I ended up changing my version to this:

````return false if @compressible_types && !(headers.has_key('Content-Type') && @compressible_types.include?(headers['Content-Type'][/[^;]*/]))````