Encoding HTTP data.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 12 Nov 2010 21:40:30 +0200
changeset 690 8450a4fcd6f2
parent 689 83027a466050
child 691 00f3ba84ebd9
Encoding HTTP data.
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
+