Re: NSData & Mime Types...
Re: NSData & Mime Types...
- Subject: Re: NSData & Mime Types...
- From: Jens Alfke <email@hidden>
- Date: Fri, 19 Aug 2011 09:47:07 -0700
On Aug 19, 2011, at 5:51 AM, Kevin Muldoon wrote:
> I suspect my Content-Type needs to be specified as Content-Type: application/pdf rather than Content-Type: application/octet-stream; What methods/techniques are available in NSData to set Mime-Types and other such things?
None. NSData is a simple uninterpreted blob of bytes. You’ll have to look at the docs for the EDMessage framework to see how you can customize the MIME type of your attachment.
—Jens_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden