diff options
author | Mike Faraponov <11322032+moredure@users.noreply.github.com> | 2021-03-20 16:57:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-20 15:57:57 +0100 |
commit | a5830066b63ab5b9664597a7d33ed44bd6264b31 (patch) | |
tree | 35ea2c703b9b6acb1783e4a943cf07e9f749ec78 /strings.go | |
parent | Fix unexpected panic when calling Do of a PipelineClient (#997) (diff) | |
download | fasthttp-a5830066b63ab5b9664597a7d33ed44bd6264b31.tar.gz fasthttp-a5830066b63ab5b9664597a7d33ed44bd6264b31.tar.bz2 fasthttp-a5830066b63ab5b9664597a7d33ed44bd6264b31.zip |
Use bytes.IndexByte instead of bytes.Index for single byte lookup (#999)
* Update uri.go
* Update strings.go
Diffstat (limited to 'strings.go')
-rw-r--r-- | strings.go | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -21,7 +21,6 @@ var ( strColonSlashSlash = []byte("://") strColonSpace = []byte(": ") strGMT = []byte("GMT") - strAt = []byte("@") strResponseContinue = []byte("HTTP/1.1 100 Continue\r\n\r\n") |