Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1715

send Multipart MIME response in Undertow Project

XMLWordPrintable

    • Icon: Clarification Clarification
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • 2.0.26.Final
    • API, Core

      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

              rhn-cservice-bbaranow Bartosz Baranowski
              donthu Anudeep Kumar Donthu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: