diff options
author | cui fliter <imcusg@gmail.com> | 2023-03-04 00:43:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-03 17:43:44 +0100 |
commit | ac631aa4eb931bef87a03eda7faa3d9e94cb4010 (patch) | |
tree | 1434043d76c516e66898dce0c236d872a95cd727 /header.go | |
parent | test: bind to localhost instead of all interfaces (#1495) (diff) | |
download | fasthttp-ac631aa4eb931bef87a03eda7faa3d9e94cb4010.tar.gz fasthttp-ac631aa4eb931bef87a03eda7faa3d9e94cb4010.tar.bz2 fasthttp-ac631aa4eb931bef87a03eda7faa3d9e94cb4010.zip |
fix functiom name (#1505)
Signed-off-by: cui fliter <imcusg@gmail.com>
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) } -// SetByteRanges sets 'Range: bytes=startPos-endPos' header. +// SetByteRange 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. |