aboutsummaryrefslogtreecommitdiff
path: root/strings.go
diff options
context:
space:
mode:
authorGravatar Erik Dubbelboer <erik@dubbelboer.com> 2024-02-11 14:55:31 +0800
committerGravatar GitHub <noreply@github.com> 2024-02-11 07:55:31 +0100
commit332726634240b82456ce8563cd7aa4027612ce36 (patch)
tree64a7b1862d9d6089e7521a7a2c59f8ea19436fe0 /strings.go
parentBump dependencies (#1718) (diff)
downloadfasthttp-332726634240b82456ce8563cd7aa4027612ce36.tar.gz
fasthttp-332726634240b82456ce8563cd7aa4027612ce36.tar.bz2
fasthttp-332726634240b82456ce8563cd7aa4027612ce36.zip
Follow RFCs 7230 and 9112 for HTTP versions (#1710)
Require that HTTP versions match the following pattern: HTTP/[0-9]\.[0-9]
Diffstat (limited to 'strings.go')
-rw-r--r--strings.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/strings.go b/strings.go
index 3cec8ed..3374678 100644
--- a/strings.go
+++ b/strings.go
@@ -19,7 +19,6 @@ var (
strCRLF = []byte("\r\n")
strHTTP = []byte("http")
strHTTPS = []byte("https")
- strHTTP10 = []byte("HTTP/1.0")
strHTTP11 = []byte("HTTP/1.1")
strColon = []byte(":")
strColonSlashSlash = []byte("://")