DevKits

application/*

application/gzip

File extensions: .gz

GNU zip single-stream compression.

What is application/gzip?

application/gzip is the media type for files compressed with gzip — the ubiquitous single-stream compressor used across Unix pipelines. Unlike ZIP, gzip compresses a single byte stream (often a .tar archive) rather than a collection of files.

Typical usage

Compressed logs, .tar.gz release archives, HTTP Content-Encoding for on-the-wire compression.

Common gotchas

Do not confuse the media type application/gzip with the HTTP Content-Encoding: gzip header. The first describes the payload as a whole; the second means the payload is transparently compressed and should be decoded by the client before interpretation.

HTTP header example

Response header

Content-Type: application/gzip; charset=utf-8

Reference

RFC 1952

Related MIME types