fix: compatible with not follow the http range response standard

This commit is contained in:
Tracey Lesley authored and GitHub committed 2024-01-14 09:58:14 +08:00
1 parent 895a8d2ee4
commit 3a542054fc
2 files changed
+5 -2

No files matched your search

+2
View File
@@ -16,10 +16,12 @@ const (
HttpCodePartialContent = 206
HttpHeaderRange = "Range"
HttpHeaderAcceptRanges = "Accept-Ranges"
HttpHeaderContentLength = "Content-Length"
HttpHeaderContentRange = "Content-Range"
HttpHeaderContentDisposition = "Content-Disposition"
HttpHeaderUserAgent = "Usr-Agent"
HttpHeaderBytes = "bytes"
HttpHeaderRangeFormat = "bytes=%d-%d"
)