aboutsummaryrefslogtreecommitdiff
path: root/strings.go
diff options
context:
space:
mode:
authorGravatar Aliaksandr Valialkin <valyala@gmail.com> 2015-11-12 21:42:16 +0200
committerGravatar Aliaksandr Valialkin <valyala@gmail.com> 2015-11-12 21:42:16 +0200
commitb81ce4977b289ed028182e4ccc452ffd80a9423e (patch)
tree37f6c3f023317c68e69f00cd83d85f9932460fe6 /strings.go
parentAdded client test for multi-server setup (diff)
downloadfasthttp-b81ce4977b289ed028182e4ccc452ffd80a9423e.tar.gz
fasthttp-b81ce4977b289ed028182e4ccc452ffd80a9423e.tar.bz2
fasthttp-b81ce4977b289ed028182e4ccc452ffd80a9423e.zip
Added https support to client
Diffstat (limited to 'strings.go')
-rw-r--r--strings.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/strings.go b/strings.go
index 62e639b..625c574 100644
--- a/strings.go
+++ b/strings.go
@@ -13,6 +13,7 @@ var (
strSlashDotDotSlash = []byte("/../")
strCRLF = []byte("\r\n")
strHTTP = []byte("http")
+ strHTTPS = []byte("https")
strHTTP11 = []byte("HTTP/1.1")
strColonSlashSlash = []byte("://")
strColonSpace = []byte(": ")