aboutsummaryrefslogtreecommitdiff
path: root/strings.go
diff options
context:
space:
mode:
authorGravatar Erik Dubbelboer <erik@dubbelboer.com> 2019-02-09 11:29:47 +0100
committerGravatar Erik Dubbelboer <erik@dubbelboer.com> 2019-02-09 11:29:47 +0100
commit6647cb2885692dfa061a2c2248e04636f4bf8401 (patch)
tree4d4e4cb41789e66e5e400f09c6a01fa8dbf36a70 /strings.go
parentAn atomic approach for HostClient.MaxConns (#531) (diff)
downloadfasthttp-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.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/strings.go b/strings.go
index 0f05af5..6d83231 100644
--- a/strings.go
+++ b/strings.go
@@ -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")