Accept-Encoding |
|
|
|
The Accept-Encoding header is used by clients to tell servers what encodings are acceptable. If the content the server is holding is encoded (perhaps compressed), this request header lets the server know whether the client will accept it. Chapter 17contains a complete description of the Accept-Encoding header.
Request header
Accept-Encoding: 1# ((content-coding | "*") [";" "q" "=" qvalue])
Accept-Encoding:[1]
[1] The empty Accept-Encoding example is not a typo. It refers to the identity encodingthat is, the unencoded content. If the Accept-Encoding header is present and empty, only the unencoded content is acceptable.
Accept-Encoding: gzip
Accept-Encoding: compress;q=0.5, gzip;q=1