wire / magic /
gzip
gzip signature (1F 8B) A gzip member begins with the two magic bytes 0x1F 0x8B, followed by a compression-method byte (0x08 = DEFLATE) and a flags byte. gzip is a single-file container around a DEFLATE stream.
magic kind signature status standard verification verified tier B file-signature@1
aka: gz magic · \x1f\x8b
file signature magic: 1F 8B⧉ copy @ offset 0
ascii: \x1f\x8b
.gz .tgz application/gzip
spec: RFC 1952
ID1=0x1f, ID2=0x8b are the fixed magic. Byte 3 (CM) is the compression method; 0x08 = DEFLATE (the only one in common use), so files usually start 1F 8B 08. Byte 4 (FLG) holds flags (FTEXT, FHCRC, FEXTRA, FNAME, FCOMMENT). A '.tgz' / '.tar.gz' is a tar archive wrapped in a single gzip member.
agent: curl -H 'accept: application/json' wire.phall.io/magic/gzip⧉ copy
or /magic/gzip.json ⧉ copy
wire.phall.io ⌘K search main ✓