set gzip header. Throw if no callback
3.0.4