diff options
author | kinggo <lilong.21@bytedance.com> | 2022-11-18 14:13:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-18 08:13:18 +0200 |
commit | 7b3bf58850065a933102f81405a39d0be02a9e2f (patch) | |
tree | a71279dd33a82e525ea27cd842cce57bc9d0e1c6 /header.go | |
parent | Wait for the response of pipelineWork in background and return it to pool (#1... (diff) | |
download | fasthttp-7b3bf58850065a933102f81405a39d0be02a9e2f.tar.gz fasthttp-7b3bf58850065a933102f81405a39d0be02a9e2f.tar.bz2 fasthttp-7b3bf58850065a933102f81405a39d0be02a9e2f.zip |
style: modify typo and remove repeated type conversions (#1437)
Diffstat (limited to 'header.go')
-rw-r--r-- | header.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -109,7 +109,7 @@ func (h *ResponseHeader) SetContentRange(startPos, endPos, contentLength int) { h.setNonSpecial(strContentRange, h.bufKV.value) } -// SetByteRange sets 'Range: bytes=startPos-endPos' header. +// SetByteRanges sets 'Range: bytes=startPos-endPos' header. // // - If startPos is negative, then 'bytes=-startPos' value is set. // - If endPos is negative, then 'bytes=startPos-' value is set. |