Closed 636f7374 closed 1 year ago
Kemal supports this (mostly). For interest: https://github.com/kemalcr/kemal/blob/18ddc3b4e6232ad7674d756c3d507da94398c7d6/src/kemal/helpers/helpers.cr#L184
@rdp Yes, but lack support for Several Range
, and Crystal HTTP::StaticFileHandler
should also support this feature. :)
@rdp Because it is more convenient to use HTTP::StaticFileHandler
directly, low size. :)
It's so weird that they use skip
in Kemal... can't they use file.pos = ...
?
@asterite I think seek
is better because other languages are implemented using seek
. (Kemal maybe? ...)
Summary
seek
(File).Specifications
206 Partial Content
Range
Content-Range
Sample
Range
)Content-Range
)Range
)Content-Type: multipart/byteranges
,Content-Range
)References