Decode gzip content before handling raw data (bug 1023490)