how to send binary content #3178
-
I tried this but it bakes the file headers into the file itself (it works and the headers go across too, but yeah, text in the file is not what i wanted). I've searched, have not found docs on how to handle this yet. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Works on my debian server, having this issue on gentoo desktop, im confused |
Beta Was this translation helpful? Give feedback.
-
Please see our documentation, and follow the guidelines in our tutorials. You have lots of examples on how to send files. There's no need to manually send an image, unless you're manually building it in memory. https://mongoose.ws/documentation/#http Next time, instead of remaining confused, sniff your network and see what is the difference in the traffic between your different scenarios. |
Beta Was this translation helpful? Give feedback.
Please see our documentation, and follow the guidelines in our tutorials.
You have lots of examples on how to send files. There's no need to manually send an image, unless you're manually building it in memory.
https://mongoose.ws/documentation/#http
https://mongoose.ws/documentation/#best-practices
Next time, instead of remaining confused, sniff your network and see what is the difference in the traffic between your different scenarios.