Re: NSData & Mime Types...
Re: NSData & Mime Types...
- Subject: Re: NSData & Mime Types...
- From: Kevin Muldoon <email@hidden>
- Date: Fri, 19 Aug 2011 12:52:33 -0400
Alright. Makes sense. Thanks for replying everyone.
On Aug 19, 2011, at 12:47 PM, Jens Alfke wrote:
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
Kevin Muldoon
e: email@hidden
_______________________________________________
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