# HG changeset patch # User Oleksandr Gavenko # Date 1289590830 -7200 # Node ID 8450a4fcd6f2dcc19d9fd4b896c522c0786e2f0b # Parent 83027a4660507939f437c54ac899407b82754516 Encoding HTTP data. diff -r 83027a466050 -r 8450a4fcd6f2 http.rst --- a/http.rst Fri Nov 12 21:40:20 2010 +0200 +++ b/http.rst Fri Nov 12 21:40:30 2010 +0200 @@ -4,3 +4,13 @@ $ setup -p apache2,lighttpd,dhttp +* Encoding HTTP data. + +Starting with HTTP/1.1, web clients can indicate support for compression: + + Accept-Encoding: gzip, deflate + +Web server notifies the web client of this via the Content-Encoding header in the response: + + Content-Encoding: gzip +