Announcement Announcement Module
Collapse
No announcement yet.
Multipart Response Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Multipart Response

    Hello,
    I'm using Spring MVC 1.2.8 and I'm generating AppleDouble files on the server
    This type of files usually get sent using a multipart response, I've seen some examples on how to create multipart responses, mostly it seems to be used a lot for emails, and I would like to know if any of you has done this? If not, I would like to know if there's a way to manually create the response of a Spring Controller, basically it should look similar to this:

    Code:
    Content-Type: multipart/appledouble; boundary=mac-part
      
      --mac-part
      Content-Type: application/applefile; name="My-new-car";
      type="GIF picture"
      
          [The AppleDouble header follows (starts with, in
      hexadecimal: 00051607)]
      
      --mac-part
      Content-Type: image/gif;
      
          [The Data fork (which in this case is a GIF image)
      follows]
      
      --mac-part--



    Thanks and regards
Working...
X