diff options
author | Aliaksandr Valialkin <valyala@gmail.com> | 2016-01-05 14:05:07 +0200 |
---|---|---|
committer | Aliaksandr Valialkin <valyala@gmail.com> | 2016-01-05 14:05:07 +0200 |
commit | 8a833965954cd4aabce4788ef436f670225a7982 (patch) | |
tree | 5d99165208ac862bf7d492315bc567493c1ee522 /strings.go | |
parent | Issue #29: use time.UTC instead of time.LoadLocation, since this call may fai... (diff) | |
download | fasthttp-8a833965954cd4aabce4788ef436f670225a7982.tar.gz fasthttp-8a833965954cd4aabce4788ef436f670225a7982.tar.bz2 fasthttp-8a833965954cd4aabce4788ef436f670225a7982.zip |
FS: added support for byte range requests
Diffstat (limited to 'strings.go')
-rw-r--r-- | strings.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -44,6 +44,9 @@ var ( strLocation = []byte("Location") strIfModifiedSince = []byte("If-Modified-Since") strLastModified = []byte("Last-Modified") + strAcceptRanges = []byte("Accept-Ranges") + strRange = []byte("Range") + strContentRange = []byte("Content-Range") strCookieExpires = []byte("expires") strCookieDomain = []byte("domain") @@ -61,4 +64,5 @@ var ( strPostArgsContentType = []byte("application/x-www-form-urlencoded") strMultipartFormData = []byte("multipart/form-data") strBoundary = []byte("boundary") + strBytes = []byte("bytes") ) |