diff options
author | tyltr <tylitianrui@126.com> | 2021-09-06 18:06:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-06 12:06:21 +0200 |
commit | f0a21893b9800871d38181863b03692cb58678d9 (patch) | |
tree | e717b35338c620036bcc50e26ae2b0418d83fdb6 /strings.go | |
parent | Update status.go (#1093) (diff) | |
download | fasthttp-f0a21893b9800871d38181863b03692cb58678d9.tar.gz fasthttp-f0a21893b9800871d38181863b03692cb58678d9.tar.bz2 fasthttp-f0a21893b9800871d38181863b03692cb58678d9.zip |
feat: improve IsMethod (#1088)
* feat: improve bytesEqual
* benchmark
* nolint:unused
* remove unused code
* Update client.go
Co-authored-by: Erik Dubbelboer <erik@dubbelboer.com>
Co-authored-by: Erik Dubbelboer <erik@dubbelboer.com>
Diffstat (limited to 'strings.go')
-rw-r--r-- | strings.go | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -24,16 +24,6 @@ var ( strResponseContinue = []byte("HTTP/1.1 100 Continue\r\n\r\n") - strGet = []byte(MethodGet) - strHead = []byte(MethodHead) - strPost = []byte(MethodPost) - strPut = []byte(MethodPut) - strDelete = []byte(MethodDelete) - strConnect = []byte(MethodConnect) - strOptions = []byte(MethodOptions) - strTrace = []byte(MethodTrace) - strPatch = []byte(MethodPatch) - strExpect = []byte(HeaderExpect) strConnection = []byte(HeaderConnection) strContentLength = []byte(HeaderContentLength) |