I have a Undertow Project in which I need to send an image file in the form of "org.glassfish.jersey.media.multipart.MultiPart" Object as response using "io.undertow.server.HttpServerExchange".
Solution Tried: I tried to by sending the bytes information directly using exchange outputstream with correct response header as applicaiton/octet-stream, this helped to send the bytes information in body response but in the UI(Web browser) I am unable to see the Image getting js error in console as "Error: invalid response - no multipart mime header"
So Please help me is there any way to send the Multipart MIME response in Undertow.
Thank you