HTTP Response encodings and compression Multiple compression methods


It is possible to compress an HTTP response message body more than once. The encoding names should then be separated by a comma in the order in which they were applied. For example, if a message has been compressed via deflate and then gzip, the header should look like:

Content-Encoding: deflate, gzip

Multiple Content-Encoding headers are also valid, though not recommended:

Content-Encoding: deflate
Content-Encoding: gzip