• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Sending multipart responses in WebObjects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sending multipart responses in WebObjects


  • Subject: Sending multipart responses in WebObjects
  • From: Rick Innis <email@hidden>
  • Date: Fri, 16 Dec 2005 21:09:56 -0500

I'm pretty sure that this can done (and I'm fairly sure that I'm on the right track), but for a reason I can't determine, my browsers are saving the entire response to file. Any insight anyone can offer would be gratefully received.

I've included the salient details of my response document below. I'm pretty sure it's a well-formed MIME document; the intent is that the 'tab-delimited' part is saved to file, while the text/html part is displayed in the browser.

Thanks,

	--Rick.

content-type: multipart/mixed;
	boundary="--__NextPart__1134783682321"
content-length: 3387

----__NextPart__1134783682321
Content-Type: application/tab-delimited
Content-Disposition: attachment; filename=39996.tab

...my data here...

----__NextPart__1134783682321
Content-Type: text/html

...html page here...

----__NextPart__1134783682321--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: [OT] All requests go to only the parent domain (MacOSX Server 10.4)
  • Next by Date: Re: WO and criteria for choosing a database server
  • Previous by thread: [OT] All requests go to only the parent domain (MacOSX Server 10.4)
  • Next by thread: Re-All requests go to only the parent domain (MacOSX Server 10.4)
  • Index(es):
    • Date
    • Thread