Deflate Content Encoding¶
Compress payloads using zlib-wrapped DEFLATE (RFC 1950 framing around RFC 1951 data) — the format HTTP Content-Encoding: deflate expects.
Configuration¶
Details¶
| Property | Value |
|---|---|
| Config | deflate |
| Algorithm | zlib (RFC 1950) wrapping DEFLATE (RFC 1951) |
| Java class | java.util.zip.DeflaterOutputStream |
Notes¶
- Slightly smaller output than gzip: a 2-byte zlib header and 4-byte Adler-32 trailer instead of gzip's 10-byte header and 8-byte trailer
- HTTP and SOAP destinations also send a
Content-Encoding: deflaterequest header - Less universally supported than gzip in HTTP tooling
- Consumers decompress with any standard inflate/deflate library