You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--3d6b6a416f9b5
Content-Type: text/html
Content-Range: bytes 0-50/1270
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>Example Do
--3d6b6a416f9b5
Content-Type: text/html
Content-Range: bytes 100-150/1270
eta http-equiv="Content-type" content="text/html; c
--3d6b6a416f9b5--
this is quiet different from Single part ranges, we need to add Content-Type, Content-Range and Boundary of each range
however, fasthttp use []byte to handle content and we may not read all the content in one time. so we need carefully handle content and add extra information.
also, we need to calculate the length which include the extra information
so i seperate the fsReader and RangeFsReader. fsReader handle the complete file and RangeFsReader handle the range file
i will pr later
i see in fs.go that fasthttp may not handle multipart/byteranges .
will fasthttp support it ? if so, i'm willing to do it
The text was updated successfully, but these errors were encountered: