diff options
author | Erik Dubbelboer <erik@dubbelboer.com> | 2019-02-09 11:29:47 +0100 |
---|---|---|
committer | Erik Dubbelboer <erik@dubbelboer.com> | 2019-02-09 11:29:47 +0100 |
commit | 6647cb2885692dfa061a2c2248e04636f4bf8401 (patch) | |
tree | 4d4e4cb41789e66e5e400f09c6a01fa8dbf36a70 /strings.go | |
parent | An atomic approach for HostClient.MaxConns (#531) (diff) | |
download | fasthttp-6647cb2885692dfa061a2c2248e04636f4bf8401.tar.gz fasthttp-6647cb2885692dfa061a2c2248e04636f4bf8401.tar.bz2 fasthttp-6647cb2885692dfa061a2c2248e04636f4bf8401.zip |
Remove duplicate check
We already compare headers case insensitive so we don't need to compare
two different cases.
Diffstat (limited to 'strings.go')
-rw-r--r-- | strings.go | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -62,12 +62,11 @@ var ( strCookieSameSite = []byte("SameSite") strCookieSameSiteLax = []byte("Lax") strCookieSameSiteStrict = []byte("Strict") - + strClose = []byte("close") strGzip = []byte("gzip") strDeflate = []byte("deflate") strKeepAlive = []byte("keep-alive") - strKeepAliveCamelCase = []byte("Keep-Alive") strUpgrade = []byte("Upgrade") strChunked = []byte("chunked") strIdentity = []byte("identity") |