-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🤗 [Question]: How to handle multipart range request? #2844
Comments
Thanks for opening your first issue here! 🎉 Be sure to follow the issue template! If you need help or want to chat with us, join us on Discord https://gofiber.io/discord |
what do you want to achieve? do you want to send a file? https://docs.gofiber.io/api/middleware/filesystem#sendfile supports partial content transfer |
Firstly, @ReneWerner87 thanks a lot for your answer! I want to return some file parts in the response and unfortunately I don't have a real file, only
How can I see, it's possible to construct the multipart range response with manually adding into the response body the following parts:
But maybe there are some corresponding methods, aren't they? |
thats a little bit harder you have to follow the following approach |
thanks a lot! |
Question Description
I'm struggling with responding on such multipart range requests like in mozila.org example
Maybe someone could give me a clue how to construct a response like that (mozila.org example):
Thank you in advance
Code Snippet (optional)
No response
Checklist:
The text was updated successfully, but these errors were encountered: