diff options
author | Erik Dubbelboer <erik@dubbelboer.com> | 2024-02-11 14:55:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-11 07:55:31 +0100 |
commit | 332726634240b82456ce8563cd7aa4027612ce36 (patch) | |
tree | 64a7b1862d9d6089e7521a7a2c59f8ea19436fe0 /strings.go | |
parent | Bump dependencies (#1718) (diff) | |
download | fasthttp-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.go | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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("://") |