HTTP Compression

The Content-Encoding representation header lists any encodings that have been applied to the response, and in what order. Content encoding is mainly used to compress the message data without losing information about the origin media type.

A web crawler can hint at what encoding methods it supports via the Accept-Encoding header, however a web server may ignore any provided values.

The below demonstration pages return a sample HTML page compressed with the specified algorithm. Note that your browser may not understand some encodings.

WebCopy only supports decoding / decompressing the types listed below, however it has been observed that some web servers return non-standard. If you come across different encodings, please send the URL of the resource to [email protected] referencing issue #471.


br bzip2 compress deflate gzip x-compress x-gzip

Learn More