Issue #14: added support for response body compression

This commit is contained in:
Aliaksandr Valialkin
2015-12-25 12:26:34 +02:00
parent 84e14eb376
commit edcfdbcec9
3 changed files with 251 additions and 0 deletions
+3
View File
@@ -32,6 +32,7 @@ var (
strReferer = []byte("Referer")
strServer = []byte("Server")
strTransferEncoding = []byte("Transfer-Encoding")
strContentEncoding = []byte("Content-Encoding")
strUserAgent = []byte("User-Agent")
strCookie = []byte("Cookie")
strSetCookie = []byte("Set-Cookie")
@@ -44,6 +45,8 @@ var (
strCookiePath = []byte("path")
strClose = []byte("close")
strGzip = []byte("gzip")
strDeflate = []byte("deflate")
strKeepAlive = []byte("keep-alive")
strKeepAliveCamelCase = []byte("Keep-Alive")
strUpgrade = []byte("Upgrade")