HTTP Response encodings and compression Multiple compression methods

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Example

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


Got any HTTP Question?