has_gzip method