Use of gzip and setting content type in response header