diff options
author | Aliaksandr Valialkin <valyala@gmail.com> | 2015-12-25 12:26:34 +0200 |
---|---|---|
committer | Aliaksandr Valialkin <valyala@gmail.com> | 2015-12-25 12:26:34 +0200 |
commit | edcfdbcec9a77959cd89c16121ef52283dc24673 (patch) | |
tree | 963ccc699416eb4484112c7bdb5095bee72432d6 /strings.go | |
parent | Reduced test time for TestClientManyServers (diff) | |
download | fasthttp-edcfdbcec9a77959cd89c16121ef52283dc24673.tar.gz fasthttp-edcfdbcec9a77959cd89c16121ef52283dc24673.tar.bz2 fasthttp-edcfdbcec9a77959cd89c16121ef52283dc24673.zip |
Issue #14: added support for response body compression
Diffstat (limited to 'strings.go')
-rw-r--r-- | strings.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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") |