Unable to deactivate the gzip compression

Match works better with a regular expression than indexOf.
At the moment we are unable to deactivate gzip-compression
with headers.