aboutsummaryrefslogtreecommitdiff
path: root/strings.go
diff options
context:
space:
mode:
authorGravatar Aliaksandr Valialkin <valyala@gmail.com> 2015-12-09 18:51:51 +0200
committerGravatar Aliaksandr Valialkin <valyala@gmail.com> 2015-12-09 18:51:51 +0200
commit9c18f79145f8857c91cce7397013333a070bb8dd (patch)
tree2ddbac99de8c822d1e8e4555486bda6af41bca00 /strings.go
parenttypo fix (diff)
downloadfasthttp-9c18f79145f8857c91cce7397013333a070bb8dd.tar.gz
fasthttp-9c18f79145f8857c91cce7397013333a070bb8dd.tar.bz2
fasthttp-9c18f79145f8857c91cce7397013333a070bb8dd.zip
Added support for If-Modified-Since to SendFile and FS
Diffstat (limited to 'strings.go')
-rw-r--r--strings.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/strings.go b/strings.go
index 8084287..628af5e 100644
--- a/strings.go
+++ b/strings.go
@@ -36,6 +36,8 @@ var (
strCookie = []byte("Cookie")
strSetCookie = []byte("Set-Cookie")
strLocation = []byte("Location")
+ strIfModifiedSince = []byte("If-Modified-Since")
+ strLastModified = []byte("Last-Modified")
strCookieExpires = []byte("expires")
strCookieDomain = []byte("domain")