aboutsummaryrefslogtreecommitdiff
path: root/strings.go
diff options
context:
space:
mode:
authorGravatar Aliaksandr Valialkin <valyala@gmail.com> 2016-01-04 15:55:30 +0200
committerGravatar Aliaksandr Valialkin <valyala@gmail.com> 2016-01-04 15:55:30 +0200
commit4bca54c0bb50b50fc570061b75812fd44a6d3fc3 (patch)
tree2b56dbe93db6101307dbb9d7bebe269331b9cafc /strings.go
parentAdded WriteGzip and WriteGunzip helper functions (diff)
downloadfasthttp-4bca54c0bb50b50fc570061b75812fd44a6d3fc3.tar.gz
fasthttp-4bca54c0bb50b50fc570061b75812fd44a6d3fc3.tar.bz2
fasthttp-4bca54c0bb50b50fc570061b75812fd44a6d3fc3.zip
Issue #29: use time.UTC instead of time.LoadLocation, since this call may fail on systems without certain config files
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 5863f66..f696330 100644
--- a/strings.go
+++ b/strings.go
@@ -18,6 +18,7 @@ var (
strHTTP11 = []byte("HTTP/1.1")
strColonSlashSlash = []byte("://")
strColonSpace = []byte(": ")
+ strGMT = []byte("GMT")
strResponseContinue = []byte("HTTP/1.1 100 Continue\r\n\r\n")