Replies: 1 comment
-
Would it be possible to get the request range header to automatically send the correct chunks ? Like Should the response always be a stream ? PS: love your work and the DX on Elysia |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This discussion is meant to discuss/propose/modify behavior for Elysia to handle File and Blob to send Content-Range header.
The behavior of 0.7:
Elysia will not send the content-range if the status code is set to 206, 304, 412, 416, or if the headers explicitly provide the content-range.
It's recommended to use ETag plugin to handle the correct status code to avoid content-range collision from cache.
Beta Was this translation helpful? Give feedback.
All reactions