diff options
author | kinggo <lilong.21@bytedance.com> | 2022-12-25 16:38:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-25 09:38:13 +0100 |
commit | c637221c5f34859271e3af47da6ab9a910b29511 (patch) | |
tree | 92565d0cac6f43ce896ba8cc5a14c69ef63e7e6e /server.go | |
parent | feat: support custom formvalue function (#1453) (diff) | |
download | fasthttp-c637221c5f34859271e3af47da6ab9a910b29511.tar.gz fasthttp-c637221c5f34859271e3af47da6ab9a910b29511.tar.bz2 fasthttp-c637221c5f34859271e3af47da6ab9a910b29511.zip |
optimize: allow http head when use getonly (#1456)
Diffstat (limited to 'server.go')
-rw-r--r-- | server.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -292,7 +292,7 @@ type Server struct { // Rejects all non-GET requests if set to true. // // This option is useful as anti-DoS protection for servers - // accepting only GET requests. The request size is limited + // accepting only GET requests and HEAD requests. The request size is limited // by ReadBufferSize if GetOnly is set. // // Server accepts all the requests by default. |